Forum Discussion

dobregon's avatar
dobregon
Icon for Impactful Individual rankImpactful Individual
3 years ago

Paginated Report - filter matrix only for a total columns

Hi guys,

 

I have a table like this

DateisYTDValue
2022-01-01150
2022-02-01150
2022-03-01150
2022-04-01150
2022-05-01150
2022-06-01150
2022-07-01050
2022-08-01050
2022-09-01050
2022-10-01050
2022-11-01050
2022-12-01050


and as i want to have is a result something like this (taking into account that i'm selectin June as a YTD)

MeasureTotal2022-012022-022022-032022-042022-052022-062022-072022-082022-092022-102022-112022-12
Value300505050505050      

 

To create the values by month is very easy i have created a formula like
iif(isYTD =1, value, nothing)

so for that the months after june are completly in blank. The problem is the total, that i can't summarize only when YTD is = 1 and it gives me a 50x12 that it is not correct.

i know that i can calculate a calculated field that filter by that, the issue is that i have 250 different measures and that should means 250 new calculated field to do that and maybe it is not the best options

something that i have tried but it doesnt work
- i have created another group for the years, another for the month and then filter the group month by isYTD=1. 

MeasureTotal     2022-012022-022022-032022-042022-052022-062022-072022-082022-092022-102022-112022-12
 2022-012022-022022-032022-042022-052022-06            
                   
Value505050505050505050505050      


and the months seems to be correct, and mi idea was to create a total from that months.. and then hide the columns but it doesnt work becasue the total ignore the isYTD.


Can someone help me on this




1 Reply