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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
EmilioMadrid
Frequent Visitor

Double dynamic segmentation

Hi everybody,

 

I'm preparing a report with a double dynamic segmentation that doesn't work, so I ask your help.

 

I've got a table with dates, locations and number de events, similar to:

 

DateLocationNumber of events
01/09/2020Madrid10
01/09/2020Barcelona1
01/09/2020Sevilla2
02/09/2020Madrid2
02/09/2020Sevilla8
03/09/2020Barcelona1
04/09/2020Madrid1

 

And in the report I have 2 data segmentations, (Emilioglez_0-1608025608436.png) one for "dates" and the other for sum of "number of events". The limits of this one (sum of "number of events") must be between the allowed possibilities according to the date segmentation.

 

With the one for "dates", obviously, I filter the dates, and with the one for "number of events", I want to retrieve the locations whose sum of events in the filtered period are between the marked limits and the sum of their events.

 

Examples:

 

A) if I select in date segmentation:

Emilioglez_1-1608026097481.png

Then, the sum of "number of events" segmentation must be:

Emilioglez_2-1608026512373.png

If, in this case, I don't move the "number of events" segmentation, the result must be:

Emilioglez_3-1608026590723.png

 

But, if I select:

Emilioglez_4-1608026629003.png

 

I must get the locations whose sum of events in this period are between 7 and 13: 

 

Emilioglez_5-1608026654358.png

 

B) If the date segmentation is:

Emilioglez_6-1608026978822.png

Then, the sum of "number of events" segmentation must be (please, notice that now it's between 2 and 8, due to the number of events it's something dynamic in the original data):

Emilioglez_7-1608027129882.png

So, in this case, the result must be:

Emilioglez_8-1608027190348.png

 

And, if I move the maximum from the sum of "number of events":

Emilioglez_9-1608027234520.png

 

The result must be:

Emilioglez_10-1608027273749.png

 

 

Can someone help me to solve this issue?

 

Thanks in advance.

 

Best regards!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @EmilioMadrid,

So you mean the second slicer should be dynamic changes based on the selection of slier1?

If this is the case, it not an issue, both slicers are work as expected. You can use the slicer to filter another slicer items(power bi use and logic to link filters) but selected filter range not able to dynamic changes based on the filter interactions.

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @EmilioMadrid,

So you mean the second slicer should be dynamic changes based on the selection of slier1?

If this is the case, it not an issue, both slicers are work as expected. You can use the slicer to filter another slicer items(power bi use and logic to link filters) but selected filter range not able to dynamic changes based on the filter interactions.

Regards,

Xiaoxin Sheng

Hi, Xiaoxin,

 

Thanks for response. So, sadly, it's something that can't be done.

 

Regards.

amitchandak
Super User
Super User

@EmilioMadrid , the date should work with slicer. For the Number of events you need segmentation

example: https://youtu.be/czNHt7UXIe8

 

or

https://www.daxpatterns.com/dynamic-segmentation/
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

 

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

Hi, Amitchandak, thanks a lot.

 

I'm not so professional as you to solve this problem. The first part, the date slicer is easy and I had done it before.

 

The problem to me is to get the second slider, that must be dynamic, in the sense that the first value that let you to select and the last one must be the extremes of the possible values in the previously selected date range.

 

I've read the links that you attached, but, as I mentioned, I'm not so good in PowerBI yet and the tests that I have done based on them have failed...

 

If you could give me a small solution based on my example I would appreciate it infinite.

 

Thanks a lot.

 

Emilio.

 

 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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