Blog

HÀM MROUND TRONG POWER BI DAX

ham-mround-trong-power-bi-dax-1

Last updated on February 11th, 2022 at 11:54 am

MIÊU TẢ

Hàm MROUND giúp làm tròn số tới bội số gần nhất.

CÁCH DÙNG / CẤU TRÚC

MROUND( <Số cần làm tròn>, <Tham số tìm bội số> )

THAM SỐ

<Số cần làm tròn> : Có thể là số dương hoặc số âm cho phép có cả phần thập phân.

<Tham số tìm bội số> : Căn cứ vào tham số này để xác định bội số gần nhất có thể làm tròn từ <Sốcần làm tròn>

GIÁ TRỊ TRẢ VỀ

Là một số bao gồm cả phần thập phân.

CHÚ Ý

Hàm MROUND làm tròn lên, cách xa số 0.

Nếu <Số cần làm tròn> nhỏ hơn <Tham số tìm bội số> thì kết quả sẽ trả về 0.

Hàm sẽ trả về lỗi nếu <Số cần làm tròn> và <Tham số tìm bội số> ngược dấu nhau (một số là số âm, một số là số dương)

VÍ DỤ

Xét kết quả của hàm:

ham-mround-trong-power-bi-dax-1

  • Số 1.3 nhỏ hơn số 3, do đó sẽ trả về số 0

Nguồn: Internet

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    bujangjp slotsensa slot88 slot4d slot4d slot4d sv388 slot88 suhubet demo slot slot4d demo slot https://fabritec.pe/asesor.php suhubet bujangjp https://kibf.pk/ slotsensa buku303 slot4d sbobet slot gacor slot gacor slot gacor totogacor slot thailand slot thailand slot gacor slot luar negeri slot gacor 4d totogacor slot gacor wd jutaan slotsensa slot gacor slot gacor slotsensa slot gacor slot dana slot dana https://cliffcrestinn.com/ totogacor totogacor demo slot slot 4d totogacor totogacor demo slot totogacor slot thailand totogacor bujangjp situs gacor situs gacor Situs Gacor 4D Thailand Situs Gacor 4D SLOT4D