Forum Discussion
Brighton10
5 years agoHelper II
Add current month dynamically in a table visual
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 mo...
- Anonymous5 years ago
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.
Anonymous
5 years agoNot applicable
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.