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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Gerbil
Helper I
Helper I

Creating a Line Graph with Percentiles

I have a dataset that looks like this:

Gerbil_0-1718744510193.png

 

And in Excel, you can calculate the percentiles then create a graph that looks like this:

Gerbil_1-1718744567476.png

 

Is there a good way to go about this in Power BI? Or do I have to create a measure for each quartile and compile them all together? I ask because I need to create three of these graphs, with three different datasets and each column is actually a measure (sum by ID). So I would end up with 27 measures just to create three graphs (each quartile needs a measure, each value column needs a measure)

2 REPLIES 2
Anonymous
Not applicable

Hi @Gerbil 

 

@amitchandak Thank you very much for your prompt reply.

 

Can you tell me if your problem is solved? If yes, please accept it as solution.

 

If you still have problems, it is best to provide the pbix file and be careful to delete sensitive data.

 

Regards,

Nono Chen

amitchandak
Super User
Super User

@Gerbil , I am assuming Quarter is on rows. Unpivot the data to have years on the row.

 

Then you can have Year on Axis and Quarter as legend 

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.