The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.