Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
royces99
Frequent Visitor

Displaying Individual values and Percentiles - Line Chart

I want to create a line chart that shows, on the x axis the Stage (4 stages) and shows the number of Findings on the y axis.  It needs to show the lines for individual Projects and the 80th Percentile line for the Projects selected.  I have created the DAX measure for the 80th Percentile and the data displays OK (and correctly calculated, code below) in a Matrix format but I cannot present the same information on a line chart.  I can only get the line chart to display an aggregate of the selected Projects and the Percentile line.  

Is there a way to do this?  Have tried creating a CombinedTable but that generates an error message "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."

I'm stuck.  Please help!!

 

royces99_0-1717594164329.png

DAX for 80th Percentile: -

 

80th Perc 5 =
VAR CurrentLCStage = MAX('Findings raised by Project'[LC Stage])
RETURN
PERCENTILEX.INC(
    FILTER(
        ALLSELECTED('Findings raised by Project'),
        'Findings raised by Project'[LC Stage] = CurrentLCStage
    ),
    'Findings raised by Project'[Findings],
    0.8)

 

1 ACCEPTED SOLUTION
royces99
Frequent Visitor

Yeah, I got the same level of help from Google.  For anybody else encountering this, I eventually found that changing the visual to a bar/ line combo chart worked with the individual Projects depicted as bars and the percentile values as lines (I also added 20th and Median in the same way).  

View solution in original post

2 REPLIES 2
royces99
Frequent Visitor

Yeah, I got the same level of help from Google.  For anybody else encountering this, I eventually found that changing the visual to a bar/ line combo chart worked with the individual Projects depicted as bars and the percentile values as lines (I also added 20th and Median in the same way).  

Anonymous
Not applicable

Hi @royces99 ,

The error message you're encountering, "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value," typically occurs when a DAX expression intended to return a single value instead references multiple columns. This can happen in scenarios where the context of the calculation isn't correctly defined for the visualization you're attempting to create.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors