Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i am facing an issue with pivot table. I have one inline and also have year_month as dimention. So i want pivot table with last 6 months data. whereas each row in inline column having different expression. When i tried to develop this by using pick(match...) condition, it is displaying only latest month.All other months having null values.
below is my expreesion for one row.
pick(match(dim_1,'value1','value2',...),
Only({<Date={"<=$(vMaxDate)>=$(vMin6month)"}>}metric1),
Only({<Date={"<=$(vMaxDate)>=$(vMin6month)"}>}metric2)...)
So please help me to solve this issue.
Thanks
Have you made any selection in the month field?
Yes, I have filter for Month,But I am restricting it in Expreesion like below.
pick(match(dim_1,'value1','value2',...),
Only({<year=,month=,Date={"<=$(vMaxDate)>=$(vMin6month)"}>}metric1),
Only({<year=,month=,Date={"<=$(vMaxDate)>=$(vMin6month)"}>}metric2)...)
May be try this
Pick(Match(Only({1} dim_1),'value1','value2',...),
Only({<Date={"<=$(vMaxDate)>=$(vMin6month)"}, Month>}metric1),
Only({<Date={"<=$(vMaxDate)>=$(vMin6month)"}, Month>}metric2)...)
Tried, but No luck
Would you be able to share a sample?
Preparing examples for Upload - Reduction and Data Scrambling