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
amirghaderi
Helper IV
Helper IV

Show value as percentage of sub column value

Is there any way in the below example to set Power Bi to calculate each row % from total highlighted in yellow (Total of baseline) and (Total of Current) and not the full line total.

It means that there will be 100% for current and 100% for Baseline

 

amirghaderi_1-1636799990683.png

 

 

 

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @amirghaderi,

I think you can add if statement to check the current content level and write specific DAX expression for the subtotal level calculations:

Clever Hierarchy Handling in DAX - SQLBI

If you are confused about the coding formula, please share some dummy data to test.

How to Get Your Question Answered Quickly

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Fsciencetech
Helper III
Helper III

Please share sample pbix

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.