Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have an issue.
I have a table which has the below columns
What i am trying to do is to find out if the RJT# for a week# and a CMP and a PR is 1 so consider COUNT Measure as 1
COUNT measure should sum up and display final result (1+1+0+1 etc)
Solved! Go to Solution.
Hi @Anonymous ,
What you need is to create a measure, which is shown as below:
Measure = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[RJT#]=1&&'Table'[PR]=1))
Then put the columns which you wanna group by and the measure into a table visual, then you will finally see as below:
For the related .pbix file,pls turn to the URL below:https://microsoftapc-my.sharepoint.com/:u:/g/personal/v-kellya_microsoft_com/Ea8Vqojw_AVKgP2TluhYV80BuO3ibLPeNRqpsF2RA2f16w?e=tg7zMl
Hope this would help.
Best Regards,
Kelly
Hi @Anonymous ,
What you need is to create a measure, which is shown as below:
Measure = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[RJT#]=1&&'Table'[PR]=1))
Then put the columns which you wanna group by and the measure into a table visual, then you will finally see as below:
For the related .pbix file,pls turn to the URL below:https://microsoftapc-my.sharepoint.com/:u:/g/personal/v-kellya_microsoft_com/Ea8Vqojw_AVKgP2TluhYV80BuO3ibLPeNRqpsF2RA2f16w?e=tg7zMl
Hope this would help.
Best Regards,
Kelly
I have followed the steps that you mentioned for #rejections and Payroll count both are measures.
I have used an if logic for a new measure called
Hi @Anonymous ,
i think at first you have to SUMMARIZE your data
https://docs.microsoft.com/en-us/dax/summarize-function-dax
than iterate (SUMX) over the result and check your condition.
https://docs.microsoft.com/en-us/dax/sumx-function-dax
https://docs.microsoft.com/en-us/dax/if-function-dax
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 44 |