Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |