This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
Need to calculate % like method as mentioned below, in measure
Thanks
Jawahar
Solved! Go to Solution.
@JawaharPrem6 , Use the below DAX and format it as percentage
Percentage =
var num = COUNT(EU_Data[TAT])
var den = CALCULATE(COUNT(EU_Data[TAT]),ALL(EU_Data))
RETURN
DIVIDE(num,den,0)
Did I answer your question ? Please mark my post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
@JawaharPrem6 Create a measure and format it as percentage like below
Percentage =
var num = SUM(YourTable[Count])
var den = CALCULATE(SUM(YourTable[Count]),ALL(YourTable))
RETURN
DIVIDE(num,den,0)
Did I answer your question ? Please mark my post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Hi Jai,
Thanks for yout time, i worked on your provided dax but iam getting error..
Thanks Jawahar
Of course, you cannot sum a text column. You can count the rows instead. Use COUNTROWS(EU_data)
@JawaharPrem6 , Use the below DAX and format it as percentage
Percentage =
var num = COUNT(EU_Data[TAT])
var den = CALCULATE(COUNT(EU_Data[TAT]),ALL(EU_Data))
RETURN
DIVIDE(num,den,0)
Did I answer your question ? Please mark my post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Hi Jai,
thank you its works..
here's a sample measure based on the data provided.
DIVIDE (
[count measure],
CALCULATE ( [count measure], ALL ( 'table'[tat column] ) )
)
If this doesn't resolve your issue, please provide more context, and a workable sample data (not an image). Please refer to this post - https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Hi,
thanks for your time, i used the mentioned dax but iam getting this error.
It's my first time seeing not being able to use % in a measure name. Have you tried renaming it?
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 28 | |
| 24 | |
| 21 |