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.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |