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.
I have a table which consists of a column called "school.1" and a column called "dato.1" (date). Each row shows a school and a date IF the school had a canteen that day. If the school did not have a canteen that day, a row does n.
When I slice on dates, I would like to show the schools which did not have a canteen on those dates (i.e. the opposite).
I have the following example, where there exists schools A, B, C, D, and E.
School.1 dato.1
A 01-01-2020
B 01-01-2020
D 01-01-2020
A 02-01-2020
D 02-01-2020
If I slice on the 1.st of January 2020, schools C and E should be shown (as A, B, and D are shown), and if I slice on the 2.nd of January 2020, schools B, C, and E should be shown (as A, and D are shown). If I slice between the two dates only C and E should be shown.
I have tried using both DAX and the power query editor/M and I cannot make it work.
I hope you can help me!
Solved! Go to Solution.
use this measure as a filter in the visual
use this measure as a filter in the visual
It worked! Thank you.
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.