Forum Discussion
Remove blank from field parameter and sort by descending
- 2 years ago
For anyone looking for solution, I unfortunately had to do it the hard way to make the filters user-friendly. That involved creating bookmarks and buttons for various combinations as mentioned in this post - https://community.fabric.microsoft.com/t5/Desktop/Displaying-single-graph-based-off-2-sets-of-bookmarks/td-p/1982459
Hi OguzMavice , my field parameter is created from the 4 columns
Hi hprose ,
I created one calculated column and one measure instead of using field parameter. Let me show the results;
In order to get this result, first I created a measure;
then I created a calculated column in the fact table;
Content =
var week =CONVERT('Fact'[Week],STRING)
var year = CONVERT('Fact'[YtoD],STRING)
var q = CONVERT('Fact'[Month],STRING)
return TRIM(COMBINEVALUES(" ",week,year,q,'Fact'[Quarter]))
I use two slicer; the first one I added "type column" ( you can give name as you wish for composition( Week instead of W, etc..); the second one I added "content" column.
- hprose2 years ago
Helper I
Thank you for your response, I implemented your approach in my file. However, I notice that selecting a value in the second slicer removes options from the first slicer (which is expected).
The reason I was trying to use field parameters was so all the options would be visible to the viewer under 'Type' at all times and both slicers can be single select with the latest week/month/quarter selected. Would that be possible?
Example #1
Exmple #2
- OguzMavice2 years ago
Resolver II
Hi hprose , if you change settings of interaction on page, you can handle with this problem. you should select content slicer and click edit interaction then off interaction icon on the type slicer.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- hprose2 years ago
Helper I
Thanks again, Edit Interactions helps partially. However, the last filter selection persists when switching between different options in 'Type' and the matrix ends up being blank unless something is selected in 'Content'.