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
corange
Post Patron
Post Patron

Calculate percentage total / Calendar

Hi everyone, 

 

I am stuck with a metric. 

 

I am trying to calculate a % total for each period in a month. A month has two periods and I want to be able to know what is the percentage of A and B for that period using a graph as a visual. 

 

corange_0-1622211108444.png

 

When I use a table, I obtained the desired result but when I try to graph it, the only option I have for "count" (column) is % of grand total. 

 

Can someone point me in the right direction to write a measure that will calculate the percentage of the column and be able to graph the result. With regard to the period column, it is coming as P1 and P2 (text format) for each month but I have the periodid column that will be specific to a period (e.g. March20 = 2 Periods:  P1=15032020 / P2 = 31032020 ___ April21 2 Periods: P1=15042021 / P2 = 30042021)

 

Please let me know if you need more info. 

 

Thank you. 

 

1 REPLY 1
v-luwang-msft
Community Support
Community Support

HI @corange ,

Could you pls share your pbix file?And show me what you want final result. 

 

Best Regards

Lucien

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.

Top Solution Authors