Forum Discussion
IF and Offset in Power Query
Hi Team,
I need to use IF and OFFSET to get the desired result. Im struggling to get the output since im a intermediate user in power query could you team suggest the solution.
I'm new to power query and this forum has been very helpful.
So below is an example I need and how could I do the same thing in power query?
I have included the image and sample date. Thank you soo much for the help.
5 Replies
- Greg_DecklerCommunity Champion
- ImkeFCommunity Champion
Hi rajrajsha
that looks like a nested index to me (after you've sorted the data by date, if necessary).
Please check this video: https://www.youtube.com/watch?v=-3KFZaYImEY
If you have to sort, please make sure to use a buffer: https://community.powerbi.com/t5/Community-Blog/Bug-warning-for-Table-Sort-and-removing-duplicates-in-Power/ba-p/810390
If you cannot figure it out by yourself, please post new sample data with correct headers like described here: https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
- rajrajshaFrequent VisitorHi ImKeF, Thanks for reviewing my query, I have tried with Using group by on store number, All Rows as aggregate and Adding Index starting from 1 then expanding sub tables again in columns. but still i see error. I have uploaded table as you said. Thanks