Forum Discussion
marru1982
2 years agoFrequent Visitor
DAX
Hi , I have a column for Quarter which shows (Q1,Q2,Q3 , Q4 and "FY" rows , and have a separate column for Year need to show the below sales result , when year= 2024 , then the sales value -1 ...
Anonymous
2 years agoNot applicable
Hi, marru1982
I create a sample table:
Then create a calculated column and use the following dax:
NewSalesColumn =
IF (
'Table'[Year] = 2024,
'Table'[Sales] - 1,
'Table'[Sales]
)
Here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- marru19822 years agoFrequent Visitor
thanks Anonymous but in Quarter , there is another row for "FY " and need to use that to show sum of all quarter