Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I'm trying to create a line graph that can have 2 types of line. First is individual issuer's line that I have already completed.
Second is to allow users to choose the average line that they want to include into the graph. This is done with a bunch of slicers that is provided. Ideally when the user click on the options in the slicers, the average line will be automatically included into the graph.
So if I click industry 1, industry 10, and rating 1, the 3 lines will appear on the graph with the name of the chosen item beside it.
https://drive.google.com/file/d/1ASqkyyz4DlDltZDk_vjGw-8vcZ0KdrKq/view?usp=sharing
Thank you!
Solved! Go to Solution.
I gave up on trying to get it into the same graph and just overlay another graph ontop of it with the background set to transparent.
I gave up on trying to get it into the same graph and just overlay another graph ontop of it with the background set to transparent.
@Deermeat , Create an average measure using these values
example
calculate(Average(Table[Value]), Allselected)
In the analytics pane, Use Y-axis Constant line, Then under the line option use fx and use this new measure
Hi I tried your method by using this measure:
Average = CALCULATE(AVERAGE(Data1[IssuerScore]), ALLSELECTED())
However, the average line that result from it is a constant line that doesnt not change no matter what is being chosen or even not chosen in the slicer. Also, it seems unable to take 2 choices from the slicer and generate 2 different lines.
Do you have any idea how to fix this?
Sample File: https://drive.google.com/file/d/1ASqkyyz4DlDltZDk_vjGw-8vcZ0KdrKq/view?usp=sharing
Thank you
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 40 | |
| 39 | |
| 38 |