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,
I have figured out why the error occurs, but not how to solve the problem. When I have a measure that returns a dash "-" when there is no data in a given month and try to combine that in a table with another measure or column that just shows nothing or shows 0 when there is no data in a given month, I get the message "Error fetching data for this visual - unable to convert a value to the data type requested for table 'column'. I have tried solutions like adding + 0 to my DAX for the measure that shows "-" when empty data, but still not working. I cannot show the DAX formula for the measures returning a dash, as they are from a DirectQuery.
How can I solve this problem?
Solved! Go to Solution.
@Anonymous , Create a new measure that checks if the value is a dash and returns a numeric value or null instead:
DAX
NewMeasure =
IF(
ISNUMBER(VALUE([YourMeasure])),
VALUE([YourMeasure]),
BLANK()
)
Proud to be a Super User! |
|
Thank you
@Anonymous , Create a new measure that checks if the value is a dash and returns a numeric value or null instead:
DAX
NewMeasure =
IF(
ISNUMBER(VALUE([YourMeasure])),
VALUE([YourMeasure]),
BLANK()
)
Proud to be a Super User! |
|
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 |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |