Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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! |
|
User | Count |
---|---|
9 | |
8 | |
6 | |
6 | |
6 |