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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mery77
New Member

How to handle report not to auto run

Hi everyone!, I am strugling with a request from the user, may be you can help me on this:

 

I have 3 slicers in my power bi desktop report, Currently when the report is open is showing data as follow:

 

mery77_1-1629303480135.png

 

But we need that when the report is opened it does not auto-execute, and does not show the values of the detail grid, that is, it only shows the header of the columns and nothing in the detail of the grid (see image as below)

 

mery77_0-1629303310368.png

 

Do you know of any feature in power bi for which the report does not run as soon as it is opened / displayed for the first time?

something like having a default value of null in the slicers so that when the report loads for the first time the detail of the report only shows until the user chooses the values of the slicers?

 

How to handle report not to auto run, what should be the default values?

any ideas?

 

Thank you in advance, any assistance is greatly appreciated

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@mery77 , Try if these setting can help

 

amitchandak_0-1629304649593.png

 

 

Or refer to my video a different approch

Traditional Parameter Page: https://youtu.be/F3qMwQtWjvo

 

View solution in original post

v-angzheng-msft
Community Support
Community Support

Hi, @mery77 

 

As far as I know, we can't make the table default to null every time the report is opened. But we can make the table empty the first time the user opens the report, and since the report saves your slicer state, make sure the slicer is unchecked before sending the report to the user, then the user will see the empty table when they open the report.
We can do this by creating a filtered measure.
First create a calculated table to summarize the slicer field, then use the summarized field to create the slicer without using the field from the main table.
Then we create the measure and filter the measure in the filtering pane. So we can get the visual effect that the slicer is not selected and the table is empty by default.

 

Sample: financial.xlsx

measure:

__noData =
VAR _show =
    IF ( MAX ( 'financials'[Product] ) IN VALUES ( _Slicer[Product] ), 1, 0 )
VAR _isSelected =
    IF ( ISFILTERED ( _Slicer[Product] ), _show, 0 )
RETURN
    _isSelected

vangzhengmsft_1-1629688335507.png

 

result:

vangzhengmsft_0-1629688318895.png

 

Please refer to the attachment below for details

 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @mery77 

 

As far as I know, we can't make the table default to null every time the report is opened. But we can make the table empty the first time the user opens the report, and since the report saves your slicer state, make sure the slicer is unchecked before sending the report to the user, then the user will see the empty table when they open the report.
We can do this by creating a filtered measure.
First create a calculated table to summarize the slicer field, then use the summarized field to create the slicer without using the field from the main table.
Then we create the measure and filter the measure in the filtering pane. So we can get the visual effect that the slicer is not selected and the table is empty by default.

 

Sample: financial.xlsx

measure:

__noData =
VAR _show =
    IF ( MAX ( 'financials'[Product] ) IN VALUES ( _Slicer[Product] ), 1, 0 )
VAR _isSelected =
    IF ( ISFILTERED ( _Slicer[Product] ), _show, 0 )
RETURN
    _isSelected

vangzhengmsft_1-1629688335507.png

 

result:

vangzhengmsft_0-1629688318895.png

 

Please refer to the attachment below for details

 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



amitchandak
Super User
Super User

@mery77 , Try if these setting can help

 

amitchandak_0-1629304649593.png

 

 

Or refer to my video a different approch

Traditional Parameter Page: https://youtu.be/F3qMwQtWjvo

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.