The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
Is it possible to write a measure to return the pictured values as whole number and currency? I need any figure below 1000 to show as whole number and anything above that to show as currency. The data will be displayed in a table format.
Thank you!
Solved! Go to Solution.
@N7MESTE3 , You can create a measure like
FormattedValue =
VAR Value = SUM('YourTable'[YourColumn])
RETURN
IF(Value < 1000,
FORMAT(Value, "0"),
FORMAT(Value, "$#,##0"))
Proud to be a Super User! |
|
@N7MESTE3 , You can create a measure like
FormattedValue =
VAR Value = SUM('YourTable'[YourColumn])
RETURN
IF(Value < 1000,
FORMAT(Value, "0"),
FORMAT(Value, "$#,##0"))
Proud to be a Super User! |
|