Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
imrasyed
Partner - Creator II
Partner - Creator II

Pivot Table with Measures as Rows

Hi Experts,

I have a pivot table with Measures as Rows.When I add a Dimension as a Row ,It is displaying the entire data set values instead of showing for that particular measure.

Ex:Capture.PNG

 

 

 

 

 

 

I have a Measure  Last Year full Month for which the Dimension values should show till 11/24/2017  but it is also showing 2018 dates as well.And it is becoz I have one more measure MTD Current Year so it is considering all the Dates.How can I show Dates corresponding to that measure?

 

Thanks

syed Imran 

2 Replies
Anil_Babu_Samineni

Initially the expression should be work

Sum({<DateField = {">=$(=Date(MonthStart(Max(DateField))))<=$(=Date(MonthEnd(Max(DateField))))"}, Year=, Month, Week=>} Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
imrasyed
Partner - Creator II
Partner - Creator II
Author

Yes I used the same expression but still the other dates are populating.

Sum({<Date ={">=$(=MonthStart(AddYears('$(vMaxDATE)',-1))) <=$(=(AddYears('$(vMaxDATE)',-1)))"}>}sales)--Last year full month

And for MTD Current year :

Sum({<Year={'$(vCurrYR)'},MonthNo ={'$(vCurrMn)'}>}sales)