Forum Discussion
mfarsln
6 years agoRegular Visitor
Show or Hide Pivot Table Column Conditionally
Hello, I have a pivot table with one row dimension, one column dimension (date) and two measures. What i want to do is that showing two measures if only its last date in the context. For the ...
parry2k
6 years agoSuper User
mfarsln I looked at mwegener solution and it is very clever, you need to change this to get the lastdate based on selection, change ALL to ALLSELECTED
var MaxDate = CALCULATE(MAX('Table'[date]),ALLSELECTED('Table'))
mfarsln
6 years agoRegular Visitor
Thank you so much for your time. It works like magic when i change it to ALLSELECTED.