Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am attempting to recreate a Tableau dashboard and the data that was provided to me is in a pivot format. I've managed to unpivot the columns Revenue, Cost, Profit and % of Profit for the matrix table. The issue I am facing is that the column, % of profit is summing up rather than returning the single value for a given team and month. Is there a way to prevent the % of profit from summing? Any advice / tips would be greatly appreciated.
Solved! Go to Solution.
Hello @NedFlanders01
You can write a measure to calculate the % of profit correctly:
% of Profit Measure = VAR RevenueSum = SUM ( table[Revenue] ) VAR ProfitSum = SUM ( table[Profit] ) RETURN DIVIDE ( ProfitSum, RevenueSum )
Hello @NedFlanders01
You can write a measure to calculate the % of profit correctly:
% of Profit Measure = VAR RevenueSum = SUM ( table[Revenue] ) VAR ProfitSum = SUM ( table[Profit] ) RETURN DIVIDE ( ProfitSum, RevenueSum )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |