Forum Discussion
Clustered Column Chart Data Selection
- Anonymous2 years ago
Hi, bdehning
First, thanks for marcelsmaglhaes's and Ashish_Mathur 's help. You can refer to their replies and if it doesn't work, refer to the following methods. Based on your description, I have created some measures to achieve the effect you are looking for. Following picture shows the effect of the display.
Put the Measure(Filter month) to the Filter Pane in the visual, and set 1 to filter.Filter Month = VAR _end = TODAY () VAR _start = EOMONTH ( _end, -60 ) VAR _result = IF ( SELECTEDVALUE ( 'Table'[Date] ) >= _start && SELECTEDVALUE ( 'Table'[Date] ) <= _end, 1, 0 ) RETURN _resultBest Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi, bdehning
First, thanks for marcelsmaglhaes's and Ashish_Mathur 's help. You can refer to their replies and if it doesn't work, refer to the following methods. Based on your description, I have created some measures to achieve the effect you are looking for. Following picture shows the effect of the display.
Put the Measure(Filter month) to the Filter Pane in the visual, and set 1 to filter.
Filter Month =
VAR _end =
TODAY ()
VAR _start =
EOMONTH ( _end, -60 )
VAR _result =
IF (
SELECTEDVALUE ( 'Table'[Date] ) >= _start
&& SELECTEDVALUE ( 'Table'[Date] ) <= _end,
1,
0
)
RETURN
_result
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum