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
User12345432334
Regular Visitor

Finding drill down/up level

Hello.

I have a clustered column chart. For my X-axis, I have 2 columns Week and Day with values like ("2024 W10", "01/01/2024"), and for my Y-axis I have a count of tickets.

The graphic is this:

User12345432334_0-1721723362878.png


I added 2 Constant Lines with values 482 and 123 (Thresholds). 

I need to do the following thing: 

if the user is on weekly level, like in the picture above, the thresholds should remain the same, but if the user drills down on daily level, the threshold should be 482 divided by 7 and 123 divided by 7.

User12345432334_1-1721723469891.png


Is there a way I can get the level from the graphic in a measure or what are my options to display the threshold dynamically based on drill down/up level?

Thanks in advance!



1 REPLY 1
MFelix
Super User
Super User

Hi @User12345432334 ,

 

The constant lines don't have the context of the calendar since they are for the full dates I would add this in the lines of a line and clustered column chart and would create two measures similar to these:

 

Max Threshold= IF(ISINSCOPE('Calendar'[Date]), 482/7 , 482)

Min Threshold= IF(ISINSCOPE('Calendar'[Date]), 123/7 , 123)

Now use this measurds on the Line Y-axis and don't forget to align zeros and turn of values of secondary y-axis.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





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.