Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
when we choose the year 2023 in filter and month of july in month filter then the data should apper from jan-june in the visual and other example when we choose the year 2023 in filter and month of april in month filter then the data should apper from jan-march in the visual
Hi @svsivaraju ,
I have created a simple sample, please refer to my pbix file to see if it helps you.
Create a measure.
Measure =
VAR _year =
SELECTEDVALUE ( 'year'[year] )
VAR _month =
SELECTEDVALUE ( 'month'[month] )
VAR _tableyear =
YEAR ( MAX ( 'Table'[date] ) )
VAR _tablemonth =
MONTH ( MAX ( 'Table'[date] ) )
VAR _re =
IF (
_year <> BLANK ()
&& _month = BLANK ()
&& _year = _tableyear,
1,
IF (
_year <> BLANK ()
&& _month <> BLANK ()
&& _year = _tableyear
&& _month > _tablemonth,
1,
BLANK ()
)
)
RETURN
_re
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
53 | |
46 | |
19 | |
16 | |
13 |
User | Count |
---|---|
108 | |
56 | |
29 | |
21 | |
18 |