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.
I have a table on input data formatted as per below (left of image).
I'm trying to plot the trend in value for each catergory overtime as a percentage of each days total (graph, right of image).
In excel i would first create a pivot table (middle image), with date's as rows, and the catergory pivoted to create 4 columns, and then values summed and displayed as % of row total. That would then automatically produce the desired graph as a pivot chart.
I can create a desired table in powerbi via the matrix table - but i'm then unable to then create the corresponding graph. Can anyone advise how i can create a graph in that format in powerbi?
Solved! Go to Solution.
Hi @SANGST
Create the follwing measure:
% of total by date = SUM('Table'[Value]) / CALCULATE(SUM('Table'[Value]), ALLSELECTED('Table'[Category]))
Now create the line chart with the following setup:
Check PBIX file attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @SANGST
Create the follwing measure:
% of total by date = SUM('Table'[Value]) / CALCULATE(SUM('Table'[Value]), ALLSELECTED('Table'[Category]))
Now create the line chart with the following setup:
Check PBIX file attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi Felix - that answer worked perfectly, thank you so much! Also, much appreciate the quick response
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 |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |