PAX - Excel calculation based on Dynamic Report (Active Form)

Post Reply
EP_explorer
Regular Participant
Posts: 208
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

PAX - Excel calculation based on Dynamic Report (Active Form)

Post by EP_explorer »

I'm trying to make some calculation in Excel based on data from Dynamic Report (which using MDX filtering in it)
So at first step
I open Dynamic Report (Active Form) which shows data on Sheet2 and make simple link from column J to Sheet1 column A
It seems works
01.JPG
01.JPG (135.09 KiB) Viewed 1336 times
After it I make filtering in Dynamic Report (show rows only which contain TOTAL). Only 3 rows
And the most part of my links on Sheet1 shows like #REF (and next calculations based on column A are imposible)
02.jpg
02.jpg (80.03 KiB) Viewed 1336 times
So may be you know how avoid such sort of behavior
burnstripe
Regular Participant
Posts: 198
Joined: Wed May 06, 2020 2:58 pm
OLAP Product: Planning Analytics
Version: 2.0.9
Excel Version: 2016

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by burnstripe »

On dynamic reports the data rows are destroyed upon rebuild, so any direct reference to these rows will be destroyed on rebuild. Hence the links are broken as you are experiencing.

One workaround would be to use the offset function were the range start is above the dynamic rows, then when the report rebuilds the link is intact because the formulae doesn't refer to any cells in the dynamic report directly
EP_explorer
Regular Participant
Posts: 208
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by EP_explorer »

Thank you
it helped

May be you know
another workarounds except offset?

In some places write that it is resource consuming
User avatar
WilliamSmith
Posts: 40
Joined: Tue Dec 13, 2022 8:54 pm
OLAP Product: TM1 / PA / PAx / PAW
Version: TM1 11
Excel Version: 365

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by WilliamSmith »

You can try using Indirect() and passing in the cell reference as a string.
burnstripe
Regular Participant
Posts: 198
Joined: Wed May 06, 2020 2:58 pm
OLAP Product: Planning Analytics
Version: 2.0.9
Excel Version: 2016

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by burnstripe »

EP_explorer wrote: Thu Jul 13, 2023 11:35 am Thank you
it helped

May be you know
another workarounds except offset?

In some places write that it is resource consuming
The other question I guess is does sheet1 need be linked to sheet2 like this. I.e. What's stopping sheet1 from also being a dynamic report sharing the same filters as sheet2? To assist you with this we'd need to know more detail on the content you are trying to create in sheet1
EP_explorer
Regular Participant
Posts: 208
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by EP_explorer »

WilliamSmith wrote: Thu Jul 13, 2023 5:54 pm You can try using Indirect() and passing in the cell reference as a string.
Yes
It works as well
Thank you
EP_explorer
Regular Participant
Posts: 208
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: PAX - Excel calculation based on Dynamic Report (Active Form)

Post by EP_explorer »

burnstripe wrote: Fri Jul 14, 2023 12:05 pm
EP_explorer wrote: Thu Jul 13, 2023 11:35 am Thank you
it helped

May be you know
another workarounds except offset?

In some places write that it is resource consuming
The other question I guess is does sheet1 need be linked to sheet2 like this. I.e. What's stopping sheet1 from also being a dynamic report sharing the same filters as sheet2? To assist you with this we'd need to know more detail on the content you are trying to create in sheet1
I'm creating some sort of filter for rows
I find unic elements in column PARENT_ELEMENT_CODE
and put them in list (sort of combobox)
03.JPG
03.JPG (12.81 KiB) Viewed 1259 times
After I choose one of elements I see only rows which contains TOTAL in Column PARENT_ELEMENT_CODE
04.JPG
04.JPG (13.69 KiB) Viewed 1259 times
Post Reply