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,
New to Power BI, and am trying to recreate in Power BI a stacked column and independent line chart. Structure of excel file is
Month Data Type
1 20 1
2 30 1
2 15 2
1 15 Budget
2 45 Budget
Type 1 and 2 would be stacked and budget would be independent line. Is this possible?
Solved! Go to Solution.
Hi @bass184
You may use Line and stacked column chart. Then create two measures and use them in the visual like below:
Type1,2 = CALCULATE(SUM('Table'[Data]),FILTER('Table','Table'[Type] in {"1","2"}))
BudgetLine = CALCULATE(SUM('Table'[Data]),FILTER('Table','Table'[Type]="Budget"))
Regards,
I have an opposite issue. I know how to make this Line and stacked column chart in Power BI. But how to recreate the same thing in Excel's PivotChart when data is comming from a data model and not from a single table.
Hi @bass184
You may use Line and stacked column chart. Then create two measures and use them in the visual like below:
Type1,2 = CALCULATE(SUM('Table'[Data]),FILTER('Table','Table'[Type] in {"1","2"}))
BudgetLine = CALCULATE(SUM('Table'[Data]),FILTER('Table','Table'[Type]="Budget"))
Regards,
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |