Thank you for reading my query.
I have a folder which contains many excel files which are downloaded on a monthly basis.
From Oct 2021 till Nov 2022 there are fields called "WC and EC" amongst others.
These two categories are merged to make a category called WC1.
In Dec 2022, "EC" exists, "WC" also exists but data has been migrated to a new field called "UPT".
With further migration taking place, eventually "WC" will not exist and will be replaced by "UPT".
My question is:
My dashboard works fine but for Dec 2022 data is wrong due to UPT being added.
What can I do to reflect the correct figures?
Solved! Go to Solution.
Thank you @BA_Pete for your reply.
Unfortunately I cannot use your formula as it fills all the WC, which are blank. WC is blank for some datasets because data was still migrating and thats fine.
UPT only is for Dec 2022.
How can I do it only for Dec 2022 and integrate in the dashboard leaving rest of the data sets as it is?
You would use something like this to only change values for Dec 22:
if Date.Month([Date]) = 12 and Date.Year([Date]) = 2022 then [UPT] else [WC]
Thank you @BA_Pete , so I guess if you want it for month and year after Dec 2022 (included) e.g. Dec 2022, Jan 2023, Feb 2023 etc then it would be:
Date.Month >= 01/12/2022 then [UPT] else [WC]?
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.