The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello All,
Can someone help me on below scenario;
I have 2 columns "Date" and "Amount" and a filter on "Date".
I want to filter data in my visual for last "N" months on basis of date selected in "Date" filter.
Any input is highly appreciated. Thanks!
Solved! Go to Solution.
Hi @ankit2747,
For your scenario, I think you should create a measure to show the amount dynamiclly based on your selectvalue in the slicer.
Here is a sample which should be similar to your scenario. You could have a good look at it.
Best Regards,
Cherry
Hi @ankit2747,
As pattemmanohar mentioned, you could use visual level filter like below.
If you still need help, please describe your scenario in more details.
Best Regards,
Cherry
Hello,
Thanks for your response.
The solution you suggested filters data according to today's date. But in my scenario, I need that if I select a date in Slicer , the data gets filtered for say last 12 months from the date selected in slicer.
Hi @ankit2747,
For your scenario, I think you should create a measure to show the amount dynamiclly based on your selectvalue in the slicer.
Here is a sample which should be similar to your scenario. You could have a good look at it.
Best Regards,
Cherry
@ankit2747 Please try using "Visual Level Filters" option
Proud to be a PBI Community Champion