Forum Discussion
filter dax
- 8 years ago
Hi JohnR1,
I have reproduced your issue. In table DETALLE_CASOS, there's NULL value, right? I have made three sample tables(DETALLE_CASOS, HISTORICO, TIEMPO) like below based on your description:
I then create a measure using your DAX formula and use the measure to create a line chart, I reproduced your issue like below.
To solve this issue, you should replace NULL with 0, click Query Editor->Replace Values.
After applied&close, you can see value 0 in the line chart.
PBIX for your reference: https://www.dropbox.com/s/0dscajn1m1rwzkt/filter%20dax.pbix?dl=0
Regards,
Jimmy Tao
Hi JohnR1,
I have reproduced your issue. In table DETALLE_CASOS, there's NULL value, right? I have made three sample tables(DETALLE_CASOS, HISTORICO, TIEMPO) like below based on your description:
I then create a measure using your DAX formula and use the measure to create a line chart, I reproduced your issue like below.
To solve this issue, you should replace NULL with 0, click Query Editor->Replace Values.
After applied&close, you can see value 0 in the line chart.
PBIX for your reference: https://www.dropbox.com/s/0dscajn1m1rwzkt/filter%20dax.pbix?dl=0
Regards,
Jimmy Tao