March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
How can I make a dynamic filter on a Power BI chart?
I have a MONTH table and it contains these values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. I dot not want to display data for months that are bigger than current month, MONTH(TODAY()).
I want something like this:
Solved! Go to Solution.
Hi,
You have to create a measure like this:
Measure = calculate(sum('table'[data]); 'monthtable'[month] <= month(today()))
and use this measure in your chart.
@Anonymous
You can't apply expression in visual level filter. I suggest you create a calculated table which always filter records for months greater than current month.
Table=FILTER(Table,Table[Month]>MONTH(TODAY()))
Regards,
Thank you, both solutions worked!
@Anonymous
You can't apply expression in visual level filter. I suggest you create a calculated table which always filter records for months greater than current month.
Table=FILTER(Table,Table[Month]>MONTH(TODAY()))
Regards,
Hi,
You have to create a measure like this:
Measure = calculate(sum('table'[data]); 'monthtable'[month] <= month(today()))
and use this measure in your chart.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
127 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |