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
Dear Community,
I tried to use the error bar option to illustrate the increase/decrease from the previous to current current month.
Therefore, I used for the error bar field value the following measure:
Unfortunately, it doesn't show up any bar. With the percentage options it perfectly works and correctly shows the bars.
Is there something wromg with the syntax of the upper measure ?
Best and thanks for your help.
Hi @SteveWave
I suggest you change the code to look like this:
Upper =
IF(
SELECTEDVALUE('Metric-2'[Metric-2]) = "Current Month" &&
[Prev month Sales] < [Sales_total],
[Sales_total],
BLANK()
)
If you're still having problems, provide some dummy data and the desired outcome. It is best presented in the form of a table.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 167 | |
| 136 | |
| 120 | |
| 79 | |
| 54 |