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.
Hi All,
I know this sound like dumb quest, but I spent alot of time trying to creat Stacked bar/column but couldn't not,
my task is supposed to be really simple:
Solved! Go to Solution.
Hi @Sam1
I suppose that the source table is like:
To make it reasonable to create a Stacked bar/column chart, you should modify the table structure.
First, split the columns in query edit to get the below result table:
Then, create a calculate table using the following formula:
Table4 = SELECTCOLUMNS ( Table3, "Company", Table3[col1], "Invested Capital", Table3[col2.3], "Value", IF ( Table3[col3.1] = "proft", 0 + Table3[col3.2], 0 - Table3[col3.2] ), "Total value", Table3[col4.3] )
If you have any question, please feel free to ask.
Best regards,
Yuliana Gu
Hi @Sam1
I suppose that the source table is like:
To make it reasonable to create a Stacked bar/column chart, you should modify the table structure.
First, split the columns in query edit to get the below result table:
Then, create a calculate table using the following formula:
Table4 = SELECTCOLUMNS ( Table3, "Company", Table3[col1], "Invested Capital", Table3[col2.3], "Value", IF ( Table3[col3.1] = "proft", 0 + Table3[col3.2], 0 - Table3[col3.2] ), "Total value", Table3[col4.3] )
If you have any question, please feel free to ask.
Best regards,
Yuliana Gu
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 | |
66 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |