Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Gopi_E
Creator II
Creator II

Ignoring selections in set analysis

Hi All,

here i trying to ignore one field selection in set analysis, but still its taking selection from that field, here is my metrics

Sum({$<Month = {"$(='>=1<='& max(MonthNum))"}, Year = {"$(='>=2011<='& max(Year))"}, YearMonth= ,MonthNum=>}Sales)

above one taking selections from YearMonth and MonthNum fields,

can you please let me know what is wrong this expression

Thanks in advance

Labels (1)
2 Solutions

Accepted Solutions
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Try this:

Sum({$<Month = {"$(='>=1<='& max({1}MonthNum))"}, Year = {"$(='>=2011<='& max(Year))"}, YearMonth= ,MonthNum=>}Sales)

View solution in original post

Anil_Babu_Samineni

@Gopi_E Perhaps this

Sum({$<Month = {"$(='>=1<='& max({<MonthNum, YearMonth>} MonthNum))"}, Year = {"$(='>=2011<='& max({<MonthNum, YearMonth>} Year))"}, YearMonth= ,MonthNum=>}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

View solution in original post

3 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Try this:

Sum({$<Month = {"$(='>=1<='& max({1}MonthNum))"}, Year = {"$(='>=2011<='& max(Year))"}, YearMonth= ,MonthNum=>}Sales)

Gopi_E
Creator II
Creator II
Author

Hi Arthur_Fong,

Thanks for the reply,

it's working as i expected, thank you

Anil_Babu_Samineni

@Gopi_E Perhaps this

Sum({$<Month = {"$(='>=1<='& max({<MonthNum, YearMonth>} MonthNum))"}, Year = {"$(='>=2011<='& max({<MonthNum, YearMonth>} Year))"}, YearMonth= ,MonthNum=>}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