Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I've created a mesure to calculate a number of employees that left the company:
HC-Leavers = VAR vleavers = SUMMARIZE ( FILTER ( 'xa BuildUp To Gross', 'xa BuildUp To Gross'[Administrative End Date] >= MIN ( Calendar[Date] ) && ( 'xa BuildUp To Gross'[Administrative End Date]<= MAX ( Calendar[Date] ) ) ),'xa BuildUp To Gross'[Payroll nb] ) RETURN COUNTROWS ( vleavers)
The issue is that when I apply filter/slicer some of the result is no data and the visual/graph that I'm using (Card) shows as the result as (blank), and i would like to show as zero.
Anyone have any clue how can i proceed ?
Solved! Go to Solution.
One way, maybe not the most elegant one:
HC-Leavers_0:=IF(ISBLANK(HC-Leavers),0,HC-Leavers).
Best regards.
One way, maybe not the most elegant one:
HC-Leavers_0:=IF(ISBLANK(HC-Leavers),0,HC-Leavers).
Best regards.
Thanks a lot @Floriankx it worked properly.
I've hided the calc, and displayed this new measure as the main one.
Thanks !
Hi,
Could you share a dataset and show the expected result.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
64 | |
63 |
User | Count |
---|---|
142 | |
105 | |
102 | |
80 | |
67 |