Forum Discussion
Slicer not removing dates from plot
- Anonymous5 years ago
Hiyfquirogah,
Please check if this is what you need.
you can try like this :
Amount New_Hires = IF(ISBLANK(SUM(New_Hires[Entries])),0,SUM(New_Hires[Entries]))Here is the demo : https://qiuyunus-my.sharepoint.com/:u:/g/personal/admin_qiuyunus_onmicrosoft_com/EeDbc-u2QThIoGwtCwjyPl4B0PEufZiQFON2SRX2kJW1Jw?e=WpviAf
Hope it helps.
Best Regards,
Caitlyn YanIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- 5 years ago
I was finally able to find the answer to this problem:
Cant. Ingresos =
var _Ingresos = COUNTROWS('Altas_2019-2020')+0
var _min = MINX(ALLSELECTED(Calendario);Calendario[Date])
var _max = MAX('FTE_2019-2020'[Fecha extracción])
return
CALCULATE(IF(MAX(Calendario[Date])<_min||MIN(Calendario[Date])>_max;BLANK();_Ingresos))With this measure I was able to make the chart plot the 0 but still keep the range within the selected dates.
Thanks for your help.
- yfquirogah5 years agoHelper I
Not exactly, I tried the measure you recommended but the problem is still there, if you filter one of the smallest Entities such as Legal this is what it plots:
It plots a straight line on 1 that would suggest every month there was one entry, it should go to 0 from Feb - Apr because there was no data there meaning there were no entries.