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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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