Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have data with calculated columns in power bi, but I need to change one of the values in the calculation from a certain point, without it affecting the previous data within that same column. Is this even possible?? or should I simply create another report from the using the new calculation?
Solved! Go to Solution.
There is only one formula per column. It isn't like Excel where you can specify rows for different formulas.
You could change the formula to be the below, which would use your old formula on or before June 15, 2022, and the new formula if it is after June 15, 2022.
VAR varOldFormula = PutYourOldFormulaHere
VAR varNewFormula = PutYourNewFormulaHere
RETURN
IF(
TableName[Date] > DATE(2022,6,15),
varNewFormula,
varOldFormula
)
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reportingthank you very much will give it a try.
There is only one formula per column. It isn't like Excel where you can specify rows for different formulas.
You could change the formula to be the below, which would use your old formula on or before June 15, 2022, and the new formula if it is after June 15, 2022.
VAR varOldFormula = PutYourOldFormulaHere
VAR varNewFormula = PutYourNewFormulaHere
RETURN
IF(
TableName[Date] > DATE(2022,6,15),
varNewFormula,
varOldFormula
)
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!