Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everybody,
i have data like this
and i need to show somethink like this where i have error bars showed, and the line in Y-axis with double color depending on legend value
but if i select a legend field PBI use 2 colors in the line (good) but create a gap in the line (bad), if i dont select a legend field PBI no gap showed (good!) but color all the line with a single color (bad):
can anyone helps me to optain the desired configuration ?
thanks
bye
mauro
Solved! Go to Solution.
Hi @rufmau68,
The question is that you have gap between both this values on your data when one ends the other one starts
Do the following:
Create two measures:
Stimato = SUM(Tabella[Valore])
Valore Reale = CALCULATE(SUM(Tabella[Valore]), Tabella[Tipo dato] = "Valore reale")
Now add the measures with stimato first and realle in second then do your error bar based on the stimato:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @rufmau68,
The question is that you have gap between both this values on your data when one ends the other one starts
Do the following:
Create two measures:
Stimato = SUM(Tabella[Valore])
Valore Reale = CALCULATE(SUM(Tabella[Valore]), Tabella[Tipo dato] = "Valore reale")
Now add the measures with stimato first and realle in second then do your error bar based on the stimato:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!