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 September 15. Request your voucher.
Hello,
Im having some toruble getting a YTD Calculation.
This is what I am trying to recreate.
When I recreate in Power BI using Year-to-Date quick measure, it is not giving me the same numbers:
Hi,
Power BI asked you to create a Date Table. Without this you can not use the YTD functions
So create a date table, declare it as date and link it with your table and it will work.
Hope it helps
Hi @Anonymous ,
I do believe i have date table named "merged FC".
I think what is happening in my year to date is that it is adding every month until the end of the year. But what I need is all the sum from that month last year to the month next year.
For example sum of all ridership from August 2022 -August 2023.
Not July + August.
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
13 | |
9 | |
7 |