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
Hello,
How to get unique count based on multi condition.
Sample Data: Sample Data 1. Excel file(Having formulas), 2. PBIX file(Help me to get DAX formula).
Regards,
Chandrashekar B
Solved! Go to Solution.
Hello James,
I am looking for unqiue count based on multi condition. For Ex:
Filter Below:
Column1=Exclude :"HD"
Column3=Incude 1
Column4=Include "First" & "Second"
Column5=Include CH.
Below Table after filtering. I need to take unique count from Column2 that will be 10.
| Column1 | Column2 | Column3 | Column4 | Column5 | Hours |
| IE | CT1 | 1 | Second | CH | 10 |
| KESS | CT3 | 1 | Second | CH | 10 |
| KESS | CT4 | 1 | Second | CH | 10 |
| Mylife | CT5 | 1 | First | CH | 10 |
| Mylife | CT7 | 1 | First | CH | 10 |
| Mylife | CH1 | 1 | First | CH | 10 |
| KESS | CT8 | 1 | Second | CH | 10 |
| Mylife | CH2 | 1 | First | CH | 11 |
| Mylife | CH2 | 1 | First | CH | 12 |
| Mylife | CH2 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH4 | 1 | First | CH | 12 |
| Mylife | CH4 | 1 | First | CH | 12 |
I cannot reach your expected results. Not sure what you are looking for !
here 2 measures :
Hello James,
It is working fine and thanks for the solution.
Regards,
Chandrashekar B
Hello James,
I am looking for unqiue count based on multi condition. For Ex:
Filter Below:
Column1=Exclude :"HD"
Column3=Incude 1
Column4=Include "First" & "Second"
Column5=Include CH.
Below Table after filtering. I need to take unique count from Column2 that will be 10.
| Column1 | Column2 | Column3 | Column4 | Column5 | Hours |
| IE | CT1 | 1 | Second | CH | 10 |
| KESS | CT3 | 1 | Second | CH | 10 |
| KESS | CT4 | 1 | Second | CH | 10 |
| Mylife | CT5 | 1 | First | CH | 10 |
| Mylife | CT7 | 1 | First | CH | 10 |
| Mylife | CH1 | 1 | First | CH | 10 |
| KESS | CT8 | 1 | Second | CH | 10 |
| Mylife | CH2 | 1 | First | CH | 11 |
| Mylife | CH2 | 1 | First | CH | 12 |
| Mylife | CH2 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH3 | 1 | First | CH | 12 |
| Mylife | CH4 | 1 | First | CH | 12 |
| Mylife | CH4 | 1 | First | CH | 12 |
Hello,
I will come back to you.
Regards,
Chandrashekar B
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 15 | |
| 8 | |
| 8 | |
| 8 |