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
rode
Advocate II
Advocate II

Conditional format (modeling) of number

Hi everyone.

In a report I've defined a measure as follows:

Measure = IF('TabFlag'[Flag]="Abs"; [KPI Absolute]; [KPI Percentage])

And I've associated a slicer to the flag, which allows the user to choose between KPI Absolute and KPI Percentage (which are two different measures).

I want to show the measure in a bar chart, but the problem is that it's not possibile to me to give the right formatting of the number: I would like that the value of Measure is showed as a whole number if the absolute form is selected, and that the same Measure is showed as a percentage if the other option is preferred.

I've tried using the FORMAT DAX function, but it return a string, which cannot be represented in the bar chart, so it does not suit at all.

 

Thanks.

3 REPLIES 3
rode
Advocate II
Advocate II

I've found out that the feature I'm searching for is not available in Power BI right now. But there in an idea about this.

Hi @rode,

You can vote the feature  and add comments in the link above. Your support will make our product better. Thanks a lot.

 

Best Regards,
Angelia

Already done! Thanks 🙂

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.