Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
i want the desired column in dax calculated column or measure on my data i want to write dax to show my desire result as
if a person have assigned day and night sift so it shows both on column and if a person only assing day or night shift show value "Single"
Solved! Go to Solution.
=IF(CALCULATE(DISTINCTCOUNT(Table[Shift]),ALLEXCEPT(Table,Table[EMPLID]))>1,"Both","Single")
=IF(CALCULATE(DISTINCTCOUNT(Table[Shift]),ALLEXCEPT(Table,Table[EMPLID]))>1,"Both","Single")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 27 | |
| 18 | |
| 12 | |
| 11 | |
| 11 |