Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Round of few cells in a calculated measure

Hi All,

 

I have a calculated measure(YTD and MTD) with values of different data types i.e., %, Ratio, $, number. Is it possible to round of the cells with dollar amount only from 1000.00 to 1000?

Note: The formatting option in the modelling tab is disabled as its a calculated measure.

 

Thanks in Advance!

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may just add IIf function inside a calculated measure.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Sam,

 

I have the table visual in the below format. MTD and YTD are calculated Measures.

 

NameMTDYTD
ABC in $10000.002000000.00
HGY in $2800.00765378.00
GYH in %75.0983.7
JIH512

 

While creating If statement in measure, it will not accept to round of a cell in the measure. 

 

It would be great if you can let me know on how to proceed further.

 

Thanks,

Keerthi

Anonymous
Not applicable

Hi Sam, can you give me the syntax for If statement

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.