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.
Hey there. I am new to Power BI so this might be a silly question.
I have two tables (with the calendar table, 3). In the first one "KurseWeiterbildung" I have all visited course dates from our employees with the course details. In the second one "I have two date columns kind of "last qualification" - "next qualification". And now I would like to get to know how many visited courses are lie between this timespan.
Thank you verry much for helping me!
Solved! Go to Solution.
Hi @MarcDT21 ,
Please check the measure.
Measure = CALCULATE(COUNT('Table'[id]),FILTER('Table','Table'[date]>=SELECTEDVALUE('Table (2)'[start date])&&'Table'[date]<=SELECTEDVALUE('Table (2)'[end date])))
Best Regards,
Jay
Hi @MarcDT21 ,
Please check the measure.
Measure = CALCULATE(COUNT('Table'[id]),FILTER('Table','Table'[date]>=SELECTEDVALUE('Table (2)'[start date])&&'Table'[date]<=SELECTEDVALUE('Table (2)'[end date])))
Best Regards,
Jay
late, but thank you very much - it works just fine!
@MarcDT21 , You need a common person ID dimension, Create one and try a measure formula like
new table -Person
Existing table -KurseWeiterbildung, mitareiter. I used easy different column name for dates
countx(filter(values(Person[personNumber]), max(KurseWeiterbildung[DatumKurs]) >= min(mitareiter[StartDate]) && max(KurseWeiterbildung[DatumKurs]) <= min(mitareiter[EndDate])),KurseWeiterbildung[IDMAUrs])
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |