The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
All:
I have been battling the abiliy to display YTD and Prior YTD. My dataset is very simple - example is below:
| Date | Value |
| 4/5/2021 | 5 |
| 4/4/2021 | 5 |
| 4/3/2021 | 5 |
| 4/2/2021 | 5 |
My expressions are
YTD:
I cant figure out why the sum of Prior YTD has 605 and not 480. If I remove the individual date from the visual my numbers are incorrect.
Very Frustrated - any help would be appreciated.
There are rules that you must follow to use these functions. The most important is that you need to use a calendar table. I cover this topic extensively here https://exceleratorbi.com.au/power-bi-calendar-tables/
Once you understand the calendar, I have an article here about how time intelligence works. https://exceleratorbi.com.au/power-bi-calendar-tables/
| User | Count |
|---|---|
| 15 | |
| 8 | |
| 6 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 13 | |
| 8 | |
| 8 |