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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
WendyWang303
Frequent Visitor

Need find over 10% change item and count item

Report need show over 10% item for example, total item is 46, only 8 item over 10%, so need to show over 10% item percentage: 

8/46 = 17.4%, but in my dax, I cannot get sum of over 10% item, I need dax show sum is 8 not 1, 

WendyWang303_1-1756173037941.png

 

WendyWang303_0-1756172921537.png
when I create measure like under, all not works 

WendyWang303_2-1756173227698.png

 

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Assuming the left most column (currently invisible in the image that you have shared) in the visual is Category from the Monthly house cost table, try these measures

Count = countrows('Monthly house cost')

Count with condition = countrows(filter(values('Monthly house cost'[Category]),[Change %]>0.1))

Ratio = divide([Count],[Count with conditions])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
v-veshwara-msft
Community Support
Community Support

Hi @WendyWang303 ,
Thanks for reaching out to Microsoft Fabric Community.

Just checking in to see if the solutions shared have worked for you.
Otherwise, feel free to reach out for further assistance.

Thank you.

Also thanks to @Ashish_Mathur , @Shahid12523  and @danextian for sharing your ideas.

danextian
Super User
Super User

Hi @WendyWang303 

 

The formula depends on the column the change % is being evaluated. You really would not want to evaluate that for the whole table that as that could become an exprensive calculation depending on its size. Try @Ashish_Mathur's solution.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Shahid12523
Community Champion
Community Champion

Use measures instead of a calculated column:

 

Over10Pct Items =
CALCULATE (
COUNTROWS ( YourTable ),
FILTER ( YourTable, [Change %] >= 0.1 )
)

Over10Pct % =
DIVIDE ( [Over10Pct Items], COUNTROWS ( YourTable ), 0 )


This will give you:

Over10Pct Items = 8

Over10Pct % = 17.4%

 

Put them in a card visual for totals.

Shahed Shaikh
Ashish_Mathur
Super User
Super User

Hi,

Assuming the left most column (currently invisible in the image that you have shared) in the visual is Category from the Monthly house cost table, try these measures

Count = countrows('Monthly house cost')

Count with condition = countrows(filter(values('Monthly house cost'[Category]),[Change %]>0.1))

Ratio = divide([Count],[Count with conditions])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors