Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Jesh19
Creator II
Creator II

Exclude field selection using set analysis not working

Hi All,

I've created two pivot tables.

In the first table, my dimension is YEAR & QTR and i have made them as columns.

In the second table, my dimension is only YEAR.

\Below is the screenshot.

programs.png

My problem is  i don't want the values to get changed in 2nd table when i am selecting quarter field.

For No of NPL Programs - Count ({<QTR=>}Distinct PRG_ID) is working fine

But for NPL Programs < 6 months

=Count({<QTR=>}DISTINCT

If((Aggr((Year(Date(SHIPDATE,'DD/MM/YYYY'))*12)+month(Date(SHIPDATE,'DD/MM/YYYY')),PRG_ID)-Aggr((Year(Date(ORDERDATE,'DD/MM/YYYY'))*12)+month(Date(ORDERDATE,'DD/MM/YYYY')),PRG_ID))<=6, PRG_ID))

The above expression is changing upon the selection of QTR.

I want the values to be for the current fiscal year in the second table instead of changing upon selections.

Could someone please help me in solving the issue.

Thanks in Advance.

Regards,

Jeshwanth

11 Replies
Anil_Babu_Samineni

Could you post test application. With only() function should work..

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
Jesh19
Creator II
Creator II
Author

Stefan,

It's working without date formatting.

Thanks.