Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
perhaps i find a Bug in Power BI Desktop:
I have following measure:
If a year is selected, i see the settings of the line in the bar chart:
If no year is selected, no setting are visiable in the bar chart:
Proud to be a Super User!
Solved! Go to Solution.
This will work, but i want blank () 😉
Proud to be a Super User!
Constantline, as I understand,accepts only numeric values. so really wonder whether that would be possible
But in my case I like it. Only show the line if there is a value. Zero will be wrong.
Proud to be a Super User!
This works
IF(HASONEVALUE('Table'[year]),10,"")
This works
IF(HASONEVALUE('Table'[year]),10,"")
Everytime very interesting. "" instead of BLANK() work! Big thanks!
Proud to be a Super User!
Can you please try the following
Thank you for your reply. I test it, same problem.
Proud to be a Super User!
The other option I can think of is IF(HASONEVALUE('Table'[year]),10,0)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 48 | |
| 46 |