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
Usha_pk
Helper II
Helper II

How to show the numbers and percentages values both at a time in a single matrix in powerbi

Hi team,

I'm working on a report in which both the numbers and percentage value should be shown at a time in a matrix. Can you please suggest me on this.
This is how the matix should be displayed.

Usha_pk_0-1700026372080.png

But I'm getting the below one.

Usha_pk_1-1700026414434.png

@amitchandak @Greg_Deckler @Ritaf1983 @Anand24 : If you have any idea please do suggest, it would be more helpful. Thanks a lot!!!

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Usha_pk 
Yes , you can use "format " function.

overall = if(SELECTEDVALUE('Table'[Category])="% sales" , FORMAT([sum_]*100,"0.0%"),FORMAT([sum_],"0,00.00"))
Ritaf1983_0-1700028789938.png

PBIX is attached


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

View solution in original post

3 REPLIES 3
Usha_pk
Helper II
Helper II

@Ritaf1983 Thanks a lot, Helped to solve me issue.

You're welcome 🙂

Ritaf1983
Super User
Super User

Hi @Usha_pk 
Yes , you can use "format " function.

overall = if(SELECTEDVALUE('Table'[Category])="% sales" , FORMAT([sum_]*100,"0.0%"),FORMAT([sum_],"0,00.00"))
Ritaf1983_0-1700028789938.png

PBIX is attached


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

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.