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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
ksahil16
Frequent Visitor

Box plots for different time periods using same axis

I have a table which looks something like this:

 

powerbi.PNG

 

I will attach the complet excel sheet for reference.

Description: The table has an Entity column where we have the "product" mentioned. We have Months column and Year column. The "Value" column indicates the value for the entity every month in every year. 

I would like the user to compare values of the Entity for given periods, hence in the column "MeasureType",  then entire rows for the "Entity" are duplicated with the same values just the "MeasureType" changes to Relative_value. This helps us to compare time periods by duplicating the data.

I would like to create box plots for calculating the distribution of values over months for the years selected by the user. Eventual visual should have 2 box plots:

1) for the relative_value period selected 2) for the new_value period 

How can I do this on the same axis giving the user two filters - to select the different time periods?

 

Eg: 

Filter1: "New_year" - 2020, 2021

Filter2: "Relative_Year" - 2018, 2019

The values should be selected using the "New_value" for the years 2020, 2021 and the values should be selected for "Relative_value" for the years 2018 and 2019. How do I display the distribution of these values in box plots?

 

reference_sheet - Here is an example sheet for the data

2 REPLIES 2
ksahil16
Frequent Visitor

Hello @miTutorials , thank you for the reply. This way of adding date tables and using userrelationship is something I am aware of, this can help me with line bar plots but I am particularly interested in Box plots as it gives me a distribution happening over the months.

 

I am looking for visuals which can give me a distribution.

miTutorials
Super User
Super User

Check out this video - This will help you create 2 different slicers to choose the value.

 

Compare any week/Year using 2 Slicers as input in PowerBI | MiTutorials (youtube.com)

 

Regards

Ismail

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors