Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table with a measure that calculates percentage. Is it possible to create another measure to count percent values greater than 10?
Or is there another way I can achieve this?
Solved! Go to Solution.
Whew! That was a rough one for me! I am a newbie so please forgive.
The adivsed measure didnt work for me probably because I wasnt doing something correctly to apply it.
But Good News! I found my solution. This is what I did.
I had our report writer in EPIC add a precalculated column with the percent of dollars collected of the dollars due.
The data with the new column had the % values represented as a whole number.
So then I just had to create a measure in DAX to find numbers in that column greater than >10
This gave me a column of True and False
I then created a measue to count the True Values
Whew! That was a rough one for me! I am a newbie so please forgive.
The adivsed measure didnt work for me probably because I wasnt doing something correctly to apply it.
But Good News! I found my solution. This is what I did.
I had our report writer in EPIC add a precalculated column with the percent of dollars collected of the dollars due.
The data with the new column had the % values represented as a whole number.
So then I just had to create a measure in DAX to find numbers in that column greater than >10
This gave me a column of True and False
I then created a measue to count the True Values
Hi @EWBI ,
It counts some things over 10% but not all.
If there is any filters? Could you please provide some dummy data and expected output to help us clarify your scenario?
Refer to
How to Get Your Question Answered Quickly - Microsoft Power BI Community
How to provide sample data in the Power BI Forum - Microsoft Power BI Community
Best Regards,
Eyelyn Qin
HI @EWBI
You need to create a table in a variable with that % measure, then set a filter and countrows, try this:
Measure_Count =
VAR _A =
ADDCOLUMNS ( Table, "Percent", [% of PrevBal] )
VAR _B =
FILTER ( _A, [Percent] > 0.1 )
RETURN
COUNTROWS ( _B )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
I get a syntax error:
The syntax for 'Table' is incorrect. (DAX(VAR _A = ADDCOLUMNS ( Table, "Percent", [% of PrevBal] )VAR _B = FILTER ( _A, [Percent] > 0.1 )RETURN COUNTROWS ( _B ))).
Hi @EWBI ,
He is just giving you example, you need to modify it yourself to use it.
Try changing "Table" to "Weekly POS Collections" and [Percent] to [% of PrevBal].
Accept his answer as solution if it works to help out other people facing the same problem.
Oh my gosh lol! Yes ok It worked. Thank you. I have to play with it a bit. It counts some things over 10% but not all.
My Percentage measure is Previous Balance Collected divided by Previous Balance Due x10 to get the perecentage of Previous Balance Due that was collected.
Can you add more details about what you want to do and the result?
Did my sample formula work?
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi: -assuming your measure is [percentage],
Can you start with
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |