Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello!
I'm trying to create a measure to show a percentage of category per month in stacked column chart.
First, I created a measure to show the percentage of total and showed it in tooltip:
%QTD_TotalCateg =
var num = count('Planilha 1'[Aplicabilidade])
var denom = calculate(count('Planilha 1'[Aplicabilidade]), ALLSELECTED())
return divide (num,denom,0)
Ex: 2 "No" in April = 6.67% of total (2/30)
Now I want to know how to create a measure that show percentage of total of month to show in tooltip.
Ex: 2 "No" in April = 33.33% of total of April (2/6)
data: https://docs.google.com/spreadsheets/d/1ywn_YinYVXll-fFE0yBOdwr0ZWi1g_ek/edit?usp=sharing&ouid=10871...
Solved! Go to Solution.
pls try this. i didn't change the measure type, you can change it to percentage.
Measure = countx(FILTER('Table','Table'[Aplicabilidade]="No"),'Table'[Aplicabilidade])/CALCULATE(COUNT('Table'[Aplicabilidade]),ALLEXCEPT('Table','Table'[Mês]))
pls see the attachment below
Proud to be a Super User!
pls try this. i didn't change the measure type, you can change it to percentage.
Measure = countx(FILTER('Table','Table'[Aplicabilidade]="No"),'Table'[Aplicabilidade])/CALCULATE(COUNT('Table'[Aplicabilidade]),ALLEXCEPT('Table','Table'[Mês]))
pls see the attachment below
Proud to be a Super User!
Thank you, its worked for me.
I ll use without the "filter".
you are welcome
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |