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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PowerWhy
Helper III
Helper III

Dynamic filter for slicer (for 150,000 row download limit)

Hello,

 

I have created this test file for downloading 150,000 rows at a time. I have a filter to choose which page to display for download - please can you tell me how to make the page filter dynamic to only display the number of pages that data is available for? There are about 1 million rows so it should offer 7 pages for download. (It should also respect the other 2 slicers at the top of the page)

 

Thank you for any pointers in the right direction! 🙂

 

PW

 

 

screenshot 150,000 rows download limit.PNG

 

PBIX file:

https://www.dropbox.com/s/9q5jbo7e71s45nz/Test%20-%20150%2C000%20records%20download%20limit.pbix?dl=... 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @PowerWhy ,

 

Looks like the [RankSelectedMax] is a dynamic value based on other 2 slicers.

Then you could create a measure like below.

pages =
ROUNDUP ( MAXX ( ALL ( 'table' ), [index] ) / [RankSelectedMax], 0 )

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @PowerWhy ,

 

Looks like the [RankSelectedMax] is a dynamic value based on other 2 slicers.

Then you could create a measure like below.

pages =
ROUNDUP ( MAXX ( ALL ( 'table' ), [index] ) / [RankSelectedMax], 0 )

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
PowerWhy
Helper III
Helper III

Thank you @jdbuchanan71 , but I don't think that would reflect the user's selections in the slicers circled in blue? screenshot 150,000 rows download limit - blue circle.PNG

jdbuchanan71
Super User
Super User

@PowerWhy 

It looks like you have an INDEX column on your data.  You could just add a Page column like this.

Page = INT ( DIVIDE ( 'Test journal lines'[Index], 150000 ) ) +1

The +1 is there to stop it from showing Page 0

Then put that column on your slicer.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.