Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Team,
I have Markets slicer like Apac, EMA , while selecting slicer --> I need Apac it show 2015 and 2016 year, if EMA then show all date.
Thanks,
Kali
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, I suggest you create a flag measure:
Flag = SWITCH(SELECTEDVALUE('Table'[Market]),"Apac",IF(YEAR(MAX('Table'[Date])) in {2015,2016},1),"EMA",1)
And then apply it to visual-filter pane ,set as "is 1" , the final output is shown below:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, I suggest you create a flag measure:
Flag = SWITCH(SELECTEDVALUE('Table'[Market]),"Apac",IF(YEAR(MAX('Table'[Date])) in {2015,2016},1),"EMA",1)
And then apply it to visual-filter pane ,set as "is 1" , the final output is shown below:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Do you have data for Apac for year <> 2017 ?
Check there is no other filter on page
or
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Anonymous , seem like you want to change axis of the visual. You need bookmarks for that
bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
217 | |
89 | |
76 | |
67 | |
60 |