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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.