Forum Discussion
Fixed value for % ratios
- 8 years ago
Hi IMORTC.
You can use:
CALCULATE(SUM(Table1[Actuals - Period]); FILTER(ALL(Table1); Table1[AccountRetail] = "Turnover"))
Be aware you should change this expression if you wanna sum the 2_test based on date/country:
CALCULATE(SUM(Table1[Actuals - Period]); FILTER(ALLEXCEPT(Table1; Table1[Date]; Table1[Country]); Table1[AccountRetail] = "Turnover"))
Ricardo
- 8 years ago
Hi IMORTC,
I could get your file now.
You should use measures instead of calculated columns to achieve this result. Also you just have "Turnover" values for 2 months, do you wanna compare the sum of those 2 months with any filter or just compare the sum of "Turnover" value inside the same month ?
If inside the same month you should have this:
_ACT % = SUM([Actuals - Period]) / CALCULATE(SUM('FCC Data'[Actuals - Period]);FILTER(ALLSELECTED('FCC Data');'FCC Data'[AccountRetail]="Turnover"))
I hope it helps you.
Let me know if u need some help.
Ricardo
Hi Ricardo,
Thx for your help! They are related in the same table... see below:
- ricardocamargos8 years ago
Continued Contributor
- ricardocamargos8 years ago
Continued Contributor
Hi IMORTC,
I couldn't get you PBIX file, it just gave me an error.
Can you just give me a sample dataset ?
Thank u,
Ricardo