Forum Discussion
Replacing null values in matrix visual
- 6 years ago
Hi elopez ,
Based on my research, If your table does not have at least one row record in the blank cell (such as our following example), the measure will not calculate at all:
We can use a separated table such as following to meet your requirement
Calculated Table:
Column = DISTINCT('Table'[Column])Measure:
Measure Value = CALCULATE([Measure]+0,'Table'[Column] in DISTINCT('Column'[Column]))
By the way, PBIX file as attached.
Best regards,
Hi elopez
I would suggest to create a new column with the following DAX function to replace the blank values:
New Column = IF( Old Column = BLANK(), "0", Old Column)
You can then choose the New Column in the Matrix visual.
If this does not work, I would suggest you share some screenshots 🙂
I have attached the Snapshot. Please could you help further.
Also I have Whole number as data type of the required column.
Thank you