cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vitalicloud Frequent Visitor
Frequent Visitor

Show empty table if filter/slicer not selected? Or limit results?

Hi guys,

I'm getting these nice looking tables/error messages and was wondering whether there's a way to either not show anything until a filter/slicer is selected or limit the results to less than 1 million/thousand/100 results or something to avoid the error? Thanks!

 

201901031148.png

6 REPLIES 6
Super User IV
Super User IV

Re: Show empty table if filter/slicer not selected? Or limit results?

The easiest thing to do would be to set your slicer value to some default and save the report that way and then you would avoid this error.


I have book! Learn Power BI from Packt


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

Proud to be a Datanaut!

vitalicloud Frequent Visitor
Frequent Visitor

Re: Show empty table if filter/slicer not selected? Or limit results?

Thanks!

So no dice if using tables instead of slicers? (say 2-3 tables where some have high level information and others more detailed , and you just select a row and then get the detailed view in the other table (say 5-10 detailed rows per 1 high level row). obviously the detailed table has more rows than others, more than 1 million if no rows is selected Smiley Happy)

Highlighted
Super User IV
Super User IV

Re: Show empty table if filter/slicer not selected? Or limit results?

Hmm, maybe not. I thought that creating a bookmark and then saving the PBIX with that bookmark selected would do the trick but apparently not. Hmm...


I have book! Learn Power BI from Packt


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

Proud to be a Datanaut!

SWOS Regular Visitor
Regular Visitor

Re: Show empty table if filter/slicer not selected? Or limit results?

You could try using HASONEFILTER in a measure to hide visuals until a filter / table column is clicked.

If in your top level table you would click on column A to filter all other visuals including your next level table.

 

Create a new measure

FILTERMEASURE = IF(HASONEFILTER([topleveltable.columnA]),1,0)

 

Then, in your next level table, drag this new measure into the visual level filter and check to show only items when the value is 1.

 

Your next level table should then go blank. Try clicking a column A field from your top level table, this should then only show results in your next level table relating to the selection.

I have used this in a couple of scenarios and it works well and judging on your email, it should work in this case (hopefully!)

 

 

Microsoft v-yulgu-msft
Microsoft

Re: Show empty table if filter/slicer not selected? Or limit results?

Hi @vitalicloud,

 

It is not supported to hide/show a visual based on slicer selection. Such an error prompted because the Maximum number of rows returned in a DAX query is limited to 1 million rows by default. To increase the upper limit, you could specify the  MaxIntermediateRowSize configuration setting in the msmdsrv.ini configuration file.  Reference: DAX Properties

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vitalicloud Frequent Visitor
Frequent Visitor

Re: Show empty table if filter/slicer not selected? Or limit results?

Thanks v-yulgu-msft,

I just want to show an empty table if no slicers/filters are selected.

Partially to avoid getting the error, but also because it's only going to show a lot of information which is irellevant until filters are selected, so would be nice to be able to say "here's an empty table, but if you select a filter/slicer, or you click on anything in this other table which will also work as a filter, then I'll show you some data"!

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors