Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi, im trying to replicate the below chart from Tableau to powerbi.
The 4 horizontal lines are a result of values from 4 different columns and the bottom two lines (black and orange) are from one particular column. Is it possible to achieve the same in Powerbi?
Solved! Go to Solution.
Hi @Anonymous ,
I create the sample data:
1. Use the cunstom visual: Multiple Axes Chart - XViz.
Then we need create these measures.
Line 1 = CALCULATE(SUM('Table'[Line1]),REMOVEFILTERS('Table'[Type]))Line 2 = CALCULATE(SUM('Table'[Line2]),REMOVEFILTERS('Table'[Type]))Line 3 = CALCULATE(SUM('Table'[Line3]),REMOVEFILTERS('Table'[Type]))Line 4 = CALCULATE(SUM('Table'[Line4]),REMOVEFILTERS('Table'[Type]))
2. Or Use Line chart.
Then create measures:
Line5_TypeA = CALCULATE(SUM('Table'[Line5]),'Table'[Type] = "A")Line5_TypeB = CALCULATE(SUM('Table'[Line5]),'Table'[Type] = "B")
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I create the sample data:
1. Use the cunstom visual: Multiple Axes Chart - XViz.
Then we need create these measures.
Line 1 = CALCULATE(SUM('Table'[Line1]),REMOVEFILTERS('Table'[Type]))Line 2 = CALCULATE(SUM('Table'[Line2]),REMOVEFILTERS('Table'[Type]))Line 3 = CALCULATE(SUM('Table'[Line3]),REMOVEFILTERS('Table'[Type]))Line 4 = CALCULATE(SUM('Table'[Line4]),REMOVEFILTERS('Table'[Type]))
2. Or Use Line chart.
Then create measures:
Line5_TypeA = CALCULATE(SUM('Table'[Line5]),'Table'[Type] = "A")Line5_TypeB = CALCULATE(SUM('Table'[Line5]),'Table'[Type] = "B")
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , In analytics pane( visual format, search glass icon). You have the option for constant line, You can use a measure or static value there
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |