Forum Discussion
Create a table using slicer value
- 5 years ago
Hi, Anonymous
It’s my pleasure to answer for you.
I’m sorry that you can’t use slicer to directly generate dynamic tables, only some aggregate values of dynamic tables can be displayed.I have a workaround for you. You need create a calculated table using generateseries function and a measure used in filter pane.Like this:
Table = GENERATESERIES ( MIN ( TimeFrame_below[TimeFrame_below] ), MAX ( TimeFrame_Above[TimeFrame_Above] ), 0.1 ) Measure = VAR A = SELECTEDVALUE ( TimeFrame_below[TimeFrame_below] ) VAR B = SELECTEDVALUE ( TimeFrame_Above[TimeFrame_Above] ) RETURN IF ( SELECTEDVALUE ( 'Table'[Value] ) >= A && SELECTEDVALUE ( 'Table'[Value] ) <= B, 1 )Here is my sample data. Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey GuoIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
It’s my pleasure to answer for you.
I’m sorry that you can’t use slicer to directly generate dynamic tables, only some aggregate values of dynamic tables can be displayed.I have a workaround for you. You need create a calculated table using generateseries function and a measure used in filter pane.
Like this:
Table =
GENERATESERIES (
MIN ( TimeFrame_below[TimeFrame_below] ),
MAX ( TimeFrame_Above[TimeFrame_Above] ),
0.1
)
Measure =
VAR A =
SELECTEDVALUE ( TimeFrame_below[TimeFrame_below] )
VAR B =
SELECTEDVALUE ( TimeFrame_Above[TimeFrame_Above] )
RETURN
IF (
SELECTEDVALUE ( 'Table'[Value] ) >= A
&& SELECTEDVALUE ( 'Table'[Value] ) <= B,
1
)Here is my sample data. Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Why is every thing that's simple in SSRS a nightmare in PBI?