Hello, I have below chart, where we have not applied any Slicer selection. Y axis display the columns and X axis display the Line. Issue is when I filter the slicer by “A”, I can see same value of “A” in the line and column (see below)
What will be best approach, if both the Column and line values are same, the line and their data values should disappear. Only the bars should be visible. Any ideas. Thanks!
—————————— Prem Guru ——————————
Tomas Torp
Member
October 18, 2022 at 1:58 PM
Does it work if you replace the old, insufficient line measure with the new and improved line measure?
New and Improved Line Measure =
IF (
NOT ( HASONEVALUE ( TableName[Business] ) ),
[Old Insufficient Line Measure]
)?
—————————— Tomas —————————— ——————————————-
Prem Guru
Member
October 19, 2022 at 9:07 AM
,
Do you mean creating a new measure? If yes, where do we place this measure?
My Line Axis is just total of A and B.
My Apologize! not too expert in playing with DAX š
—————————— Prem Guru —————————— ——————————————-
Tomas Torp
Member
October 19, 2022 at 9:56 AM
No worries, in my suggestion above you replace the old measure for the line with the new one, but you will have to keep the old one since it is referenced. If you have no need to keep the old one, you could instead rewrite the line measure like this:
Line Measure =
IF (
NOT ( HASONEVALUE ( TableName[Business] ) ),
[Measure A] + [Measure B]
)??
—————————— Tomas —————————— ——————————————-
Prem Guru
Member
October 19, 2022 at 10:40 AM
– Perfect! Most Appreciated. You made my day.
Applied a new measure as per your last response and was able to fix around 5 of my charts.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!