Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello All,
I have had a look for this topic and can't find any discussion about it so i'm either the first to ask or my search paremeters are shocking.
Either way, I need some help! I have a requirement to compare a sum total to the same day in the previous week to provide a week on week variance. This is an amendment to an existing report in my business that was originaly aggregating numbers per week. Now the requirements is to look at these figures each day of the week but it still needs to be aggreagated for the week. This is where i am struggling as I can either get it to work for each day or for the week as a total. I've tried simply using DATEADD but this always results in an error (returns multiple results when it expects one).
My source data is an aggregated view that appears as follows:
This is linked with a DIM_DATE table with many columns but the ones used in my report are the Calendar_Date (for the relationship to the KPIs table shown above), [Start of Week], [FISCAL_WEEK], [WEEK_DAY_NAME].
The normal SUM DAX for the Gross Orders per day is fine (as you'd expect), but my WOW% comparison is being a pain:
My current DAX is as follows:
Solved! Go to Solution.
Update - i retried DATEDIFF this morning and it suddenly works the way I need it to. Very odd, i must have used an incorrect column in my original version of the DATEDIFF formula and not realised.
Update - i retried DATEDIFF this morning and it suddenly works the way I need it to. Very odd, i must have used an incorrect column in my original version of the DATEDIFF formula and not realised.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |