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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Shaki
Frequent Visitor

Percentage of total measure

Hi,

 

I want to create a percentage of total measure filtered by two columns.

 

I want to calculate the % of total trips filtered by weekday and by fiscalweek day...

The results of the measure suppose to look like in the picture below

 

% OF TOTAL.png

Thanks in advence!

3 REPLIES 3
Anonymous
Not applicable

Hi @Shaki ,

 

So do you want to correct the wrong Row - Total(100%) ?

Eyelyn9_0-1643079912801.png

If so, you could use HASONEVALUE() like:

Measure = IF(HASONEVALUE('Table'[Week]),1,0)

Eyelyn9_1-1643080055638.png

If you are still confused about it, please provide me with more details about your table and your expected output or share me with your pbix file after removing sensitive data.

 

 

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

Shaki
Frequent Visitor

Hi @amitchandak , thanks for your replay

 

This is the matrix table... the % of total time is excactly what I wanted with the same numbers of the top right visual. But the % of total shortdayname doesn't get the same result as the left top visual. Is it even doable?

 

(Total trip and hours are from the same table, the shortdayname is from another table).

 

matrix table.png

 

amitchandak
Super User
Super User

@Shaki , In such case it usually

 

divide([measure], calculate([measure], allselected()) )

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.