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
mq2020
Helper III
Helper III

Enlighten Data Story: value of format data

Is there a way to specify the format of each data value in the Illuminate Data History visualization?

I'm using this visual to show the following:

Values 1st and 3rd are one % and 2rd and 4th are a text.

My measure that fills the 3rd value is actually formatted as %, however, it is not displayed in such.

EDS 1.PNG

Interestingly, when I change the order of measurements to make it look correct, but this does not help me!

EDS 2.PNG

1 ACCEPTED SOLUTION
v-zhenbw-msft
Community Support
Community Support

Hi @mq2020 ,

 

We can use the FORMAT function to meet your requirement.

We create a sample and the measure like this,

 

% B = FORMAT(CALCULATE(SUM('Table'[value]),'Table'[name]="B") / CALCULATE(SUM('Table'[value]),ALL('Table')),"Percent")

% B = FORMAT(CALCULATE(SUM('Table'[value]),'Table'[name]="B") / CALCULATE(SUM('Table'[value]),ALL('Table')),"Percent")

 

englishten 1.jpg

 

You can replace the Bold with your number measure, like this,

 

% = FORMAT( [your measure],"Percent" )

 

BTW, pbix as attached that you can refer.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhenbw-msft
Community Support
Community Support

Hi @mq2020 ,

 

We can use the FORMAT function to meet your requirement.

We create a sample and the measure like this,

 

% B = FORMAT(CALCULATE(SUM('Table'[value]),'Table'[name]="B") / CALCULATE(SUM('Table'[value]),ALL('Table')),"Percent")

% B = FORMAT(CALCULATE(SUM('Table'[value]),'Table'[name]="B") / CALCULATE(SUM('Table'[value]),ALL('Table')),"Percent")

 

englishten 1.jpg

 

You can replace the Bold with your number measure, like this,

 

% = FORMAT( [your measure],"Percent" )

 

BTW, pbix as attached that you can refer.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

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.