The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I have a BI matrix visualization with values in yearly/monthly structure and would like to have a column in which the ratio of each monthly data is being calculated vs the total year.
The only way I was able to calculate the yearly total figure is:
Solved! Go to Solution.
Not sure it is easier but perhaps:
TotalSalesCY = CALCULATE([TotalSales],ALLEXCEPT(DimDate,DimDate[Year]))
If you have a Year column in DimDate.
Not sure it is easier but perhaps:
TotalSalesCY = CALCULATE([TotalSales],ALLEXCEPT(DimDate,DimDate[Year]))
If you have a Year column in DimDate.
Thank you Greg for your quick and helpful reply! This has the same result and formula is exactly what I needed: an other method (ALLEXCEPT) which I can use in other context as well.
Cheers
Accidently was posted without body. I have edited the post.
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |