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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have my table like this
Name Hasloggedin
A Yes
B Yes
C No
D Yes
I want ot return names where hasloggedin= Yes and hasloggedin=no.
If iam using DAX =Calculate(distinct(name),Hasloggedin="Yes") I am getting an error multiple values found where single value expected, how to do it??
Solved! Go to Solution.
Hi @Anonymous
You can use the below DAX measures.
Yes =
CONCATENATEX(
FILTER(
YourTable,
YourTable[Hasloggedin] = "Yes"
),
YourTable[Name], ", "
)No =
CONCATENATEX(
FILTER(
YourTable,
YourTable[Hasloggedin] = "No"
),
YourTable[Name], ", "
)
works fine but Iam having problem If i have multiple value in my name column, if i use disitnct its showing the same error (multuiple values supplied when expecting 1 value)
works like charm, thanks
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 50 | |
| 42 | |
| 23 | |
| 20 |
| User | Count |
|---|---|
| 139 | |
| 116 | |
| 54 | |
| 37 | |
| 31 |