Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Greetings
I have a table visual in powerBI and would like to show the current month as the first column and also showing only 4 months worth of data. For example in the pbix file attached current month is March 2021 and 4 months back is November 2020, I want next month to dynamically add April 2021 (which will be the current month then) and display until december 2020, May 2021 until January 2021 and so on. I have created the following measures to do the calculation so far but dont know how to make this dynamic.
Solved! Go to Solution.
Hi @Brighton10 ,
Accoding to your description, It's suggested to use Matrix visualization.
Measure =
IF (
CONVERT ( MAX ( 'Dehydrator Runtime'[MonthYear] ) & " 1", DATETIME )
> EOMONTH ( TODAY (), -4 ),
SUM ( 'Dehydrator Runtime'[Dehydrator Runtime (hours)] )
)
Please take a look at the pbix file 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 @Brighton10 ,
Accoding to your description, It's suggested to use Matrix visualization.
Measure =
IF (
CONVERT ( MAX ( 'Dehydrator Runtime'[MonthYear] ) & " 1", DATETIME )
> EOMONTH ( TODAY (), -4 ),
SUM ( 'Dehydrator Runtime'[Dehydrator Runtime (hours)] )
)
Please take a look at the pbix file 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.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.