Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Everyone 🙂
Hoping you can help.
When no value is selected within a filter(showing as 'all'), i want my 'target' line (red line) to not appear. However when a value is selected i would want the aggregation to take place and the target to be shown.
Is this possible?
Any help is very ,much appreciated.
Many thanks
Appy1
Solved! Go to Solution.
Hello,
You will need to use an Area chart visual.
X axis: drag Month Column
Y axis : TotalSum = SUM(Table[Value])
Secondary Y axis : Dynamic Target = IF(ISFILTERED('Table Filter'[FilterName]), "", [TotalSum])
In order to get close to your target visual, you will need also to do the following format changes:
Title off
Legend off
X axis title off
Y axis title off, Range minimum fx to a DAX measure you need to create / Y min = MIN(Sol[Value]) * 0.95
Secondary y axis title off , values color of your background, range minimum fx = Y min (same for Y axis)
Shade area choose Target Line and switch show for this series off
Lines TargetLine, line style Dotted, width 2, color of your choice (red)
Lines TotalSum color of your choice (purple), width 2
It will look like this and the target line will dissapear when the filter is not selected or selected all
If it answers your question, please mark my reply as the solution
Hello,
You will need to use an Area chart visual.
X axis: drag Month Column
Y axis : TotalSum = SUM(Table[Value])
Secondary Y axis : Dynamic Target = IF(ISFILTERED('Table Filter'[FilterName]), "", [TotalSum])
In order to get close to your target visual, you will need also to do the following format changes:
Title off
Legend off
X axis title off
Y axis title off, Range minimum fx to a DAX measure you need to create / Y min = MIN(Sol[Value]) * 0.95
Secondary y axis title off , values color of your background, range minimum fx = Y min (same for Y axis)
Shade area choose Target Line and switch show for this series off
Lines TargetLine, line style Dotted, width 2, color of your choice (red)
Lines TotalSum color of your choice (purple), width 2
It will look like this and the target line will dissapear when the filter is not selected or selected all
If it answers your question, please mark my reply as the solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |