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.
Hello community,
I'm trying to calculate the daily variation between one rate and the previous one. I'm using the formula:
Daily rate:
I appreciate your help.
Hi @Syndicate_Admin ,
I think your measure should be correct. As far as I know, PREVIOUSDAY() should be time intellgience function, DIM_TIEMPO table should contains continuous date in it. Here I suggest you to create DIM_TIEMPO table by CALENDAR() or CALENDARAUTO() function.
DIM_TIEMPO = CALENDAR(MIN(MIS_RATE_DETAIL_2[Date]),MAX(MIS_RATE_DETAIL_2[Date]))
Data model in my Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Syndicate_Admin , Make sure DIM_TIEMPO is marked as date table
Date from DIM_TIEMPO is used in visual and slicer
The date in MIS_RATE_DETAIL_2 does not have a timestamp
and join between MIS_RATE_DETAIL_2and DIM_TIEMPO is single directional
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
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 |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |