Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello all,
I want to calculate the week differences between a datecolum (deelnemers[AanvangStatus] and todays date. I want to do this by a Measure.
The DAX formula im using is: DATEDIFF(...
the date i want to use in Date1 = deelnemers[AanvangStatus], but as you can see (in printscreens below), its only allowing me to use measured values from table deelnemers (which are no date colums?!).
How can I use deelnemers[AanvangStatus] colum in the DATEDIFF measure? (or what am i doing wrong?)
Greetings,
Art
Solved! Go to Solution.
You have tu use a summarization function such as MAX.
Try this:
Diff = DATEDIFF(MAX(Date1), TODAY(), WEEK)
You have tu use a summarization function such as MAX.
Try this:
Diff = DATEDIFF(MAX(Date1), TODAY(), WEEK)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
112 | |
105 | |
94 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |