Forum Discussion
Filter dates on a graph doesn't work with measure
- Anonymous2 years ago
Hi LEPR,
Power bi chart will auto hide the blank parts, if you added +0 after the expression, they will expand the calculation range to all table rows.
I think you need to add if statement to check the current row contents /filter effect and add +0 to the specific expression instead of directly add on the whole table level .
Regards,
Xiaoxin Sheng
You must add the date field to the Filtern pane and select the date range. Measures never control a filter pane
Hi Vijay,
Thanks for coming back to me on this topic, I am afraid I didn't get your point.
The date is already in the filter panel for this visual, and it works as long as I have only normal fields in my graph, but not with this new measure that calculates 0 when there is no data in the months.
Thanks
- Anonymous2 years agoNot applicable
Hi LEPR,
Power bi chart will auto hide the blank parts, if you added +0 after the expression, they will expand the calculation range to all table rows.
I think you need to add if statement to check the current row contents /filter effect and add +0 to the specific expression instead of directly add on the whole table level .
Regards,
Xiaoxin Sheng