Forum Discussion

ColinRE's avatar
ColinRE
Helper I
2 years ago
Solved

Direct Query Service : Slicer Does not update when a there is a change made (but Desktop works fine)

Hey Community,

 

Strange question.

 

In the desktop I have text slicer for a Direct Query that use M parameters. The slicer (green box) is updating correctly in the desktop.  It is Date start - Date End: Duration text string. 

 

When I publish to the service, and make a change using M inputs or recipe, it does not update the slicer.  PS, the slicer is a further refinement on the results returned from SQL using the M parameters. 

 

Interestingly enough, after playing around for way too long, I noticed that the same column in the slicer must also be in the matrix itself. The screen shot shows a date time : date time header,  which is different than the Date start :  Date End: Duration text string

 

The question is, is this is a bug (desktop behavior vs. service) or does this behavior make sense? Why does it work in desktop but but not the service... 

I submotted a ticket to Microsoft as well but I don't usually get helpful responses. 

 

 

  • They will update the list, but not the selection.

  • ColinRE's avatar
    ColinRE
    2 years ago

    Alright, finally resolved this. I turned off the automatic aggregation training. I guess this result is cached. Using the pipeline and re-deploying the report also made the report work (temporarily for a day), but after the refresh, the aggregations resulted in caching, so this  was not a long term solution.  

     

     

    The report works as exepcted now. The above is not the solution. The slicer (green box) will update based on the inputs selected. 

    Anonymous  is this a bug? Should slicers be cached? Should there be a feature to supress slicer caching? 

     

     

6 Replies

  • Please define what you mean by "Slicer update".  Are you expecting the selection to change?

    • ColinRE's avatar
      ColinRE
      Helper I

      That's correct. Numeric parameters or a recipe change will update the selection list (green box). Basically, it's after all the M parameters have been applied, you can further refine the list. 

      I am debating running a query trace to see what is being sent back to SQL Server. 

      • lbendlin's avatar
        lbendlin
        Super User

        They will update the list, but not the selection.

  • Hey,

    Just wanted to update this. Had a call with Microsoft. After walking this through, the slicer magically worked. Can't tell if the new update fixed it but tried a few different things, including deleting and re-adding the slicer, abd clearing report cache. I blame the gremlins in the reort...