Forum Discussion
Year to Date Function
- 5 years ago
Create 2 measures for YTD and LYTD and then calculate the percentage diff:
YTD = CALCULATE(SUM(Table6[Amount]),DATESYTD('Calendar'[Date])) YTD LY = CALCULATE(Table6[YTD],SAMEPERIODLASTYEAR('Calendar'[Date]))Measue = ([YTD] - [YTD LY]) / [YTD LY] - 5 years ago
It seems that the Change % is a column and not a measure.
You should create a measure.
Also the table that you are showing us contains the raw data table.
What is the actual table that you are planning to use on the report. What fields and measures is it going to have?
This is the table that I am working on right now. Please, if you need the file let me know and I will dm you. Thanks in advance for your time.
It seems that the Change % is a column and not a measure.
You should create a measure.
Also the table that you are showing us contains the raw data table.
What is the actual table that you are planning to use on the report. What fields and measures is it going to have?
- mtrussardi5 years agoFrequent Visitor