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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
Am new to Power BI. I am having really tough time understaing some DAX functions like HASONEVALUE.
I am attempting to use this function like below:
I have choosed 2 location and still I can see the Bar graph but the card shows zero. Why is it not working for the bar graph? My understanding is that, if you choose 2 options in slicer, essentially it should not work. Please suggest. My DAX is:
Regards,
Sid
Solved! Go to Solution.
when you selected two locations, in the filter context of card visual there are two values then it got a zero.
but in the bar visual, each bar represents one location, so it always has one value.
when you selected two locations, in the filter context of card visual there are two values then it got a zero.
but in the bar visual, each bar represents one location, so it always has one value.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
9 | |
9 | |
8 |