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.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |