Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Power BI community,
I wrote some queries which I believe were working correctly last year but in the new year these do not seem to function as intended. There is a calendar table I created over the course of last year as well as using the DocDate from tables.
To explain the premise I am wanting to show total sales year to date (YTD) minus any credits year to date.
I am then using 2 additional queries to calculate the same for the previous year to date and then comparing the 2 to see % increase/decrease.
These queries seemed to be working okay last year but after rolling over into the new year I am now not so sure.
My queries as follows:
TotalYTD-Credits = [TotalYTDexcVAT] - [TotalCreditsYTDExcVAT]
Hi @jackalmf ,
Could you please give me the sample data and the expected results, thank you very much.
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
94 | |
90 | |
79 | |
77 | |
71 |
User | Count |
---|---|
119 | |
105 | |
90 | |
64 | |
63 |