Forum Discussion
visual filter problem--unpredictable behavior
- 10 years ago
ThomasDay check out my answer here...
http://community.powerbi.com/t5/Desktop/Empty-table-with-a-slicer/m-p/40022#M15002
The purpose of the measure--and the reason it's used as an "on the fly" filter is to restrict showing info until a valid selection is made. That means that until a facility is selected via the slicer (and ONLY ONE facility is selected)--the details in the visuals should not show. So the ProviderSlicerCount measure is 1--show things, if not 1--don't.
Screenshot 1--when a selection is made...all is well and info works well.
Screenshot 2--when a selection has not been made--nothing should show...and that's the problem.
Does that help size up the issue anyone? Ideas? Thanks, Tom
- Anonymous10 years agoNot applicable
ThomasDay Having a hard time following this one. the dax formula is cut off.. is it possible that somehow the filter is only applying to one part of the fact table based on the measure?
- ThomasDay10 years ago
Impactful Individual
Hi Anonymous--that's the whole filter formula. The slicer selects a provider from the provider table. The filter counts the rows in the providertable and if that's one--as in one row, then the details on the visuals are OK to display. If the slicer has been cleared, the row count will be large, and if more than one is picked, it's not one. And perhaps there's a time when there are no rows displayed but I can't think of when.
The row count is of the table that the slicer is attached to...so I'm not sure how it might be applying to one part of the fact table. That help?