Hi, Guys, Could you please help me with this one? I need to calculate the Week over week sales change in percentage. Sales for current weekday is blank. How we can calculate the total percentage changes without including sales data from previous week if the current weekday sales is blank?
For example, I’d like to show the total sales percentage change as 50% instead of 6.93WoW_change%.pbix (25.4 KB) %.
You have a single flat table in your sample PBIX, no proper data model.
Just want to note that although this will work, it’s certainly not a best practice.
@Melissa, Hi Melissa, you are absolutely right. The sample file you shared did not reflect what I need. I have update with the new sample file, cold you please take a look?
Based on how you wrote your measures I assumed the ‘Date’[LastFiscalWeekX] is dynamic. If that is not the case check out the M code in this topic on how to create offsets in your Date table.
Hi @Mike, did the response provided by @Melissa help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark the thread as solved. Thanks!