Viewing 15 posts - 31 through 45 (of 595 total)
It's because your "Account Level 0" attribute is finding a duplicate composite of the dimension key (e.g 88 and 99 are both P&L). You need to make the KeyColumns property...
January 31, 2020 at 7:31 am
You need to use a global temporary table rather than a local one. So ##temptable instead of #temptable
January 24, 2020 at 1:21 pm
You need the GENERATE function if you want to show the top ten products by customer. You have taken this out which is why your results are "garbage".
For the "0"...
July 11, 2019 at 10:05 am
Looks like a typo to me. According to the text of the book it should show the last 5 years so the calculation should be:
FILTER(MasterCalendar_T,MasterCalendar_T[Date]>=DATEADD(MasterCalendar_T[Date],-6,YEAR))
Note, negative 6.
July 11, 2019 at 6:35 am
The simplest way to do a "top 10 by customer" type thing is to use Generate to iterate over each one and perform the TopCount. The below uses this method...
July 10, 2019 at 11:36 am
You must work in Toyland.
Where others use variations of "foobar" for things they can't think of a name for, I use variations of "noddy". You're not the first who's...
July 5, 2019 at 1:20 pm
It's because CustID is a column name. Essentially your where clause is doing 1=1.
The following will fail with an "Invalid column name" error:
DROP TABLE IF EXISTS #noddy
CREATE...
July 5, 2019 at 11:22 am
October 2, 2018 at 6:40 pm
October 2, 2018 at 6:32 pm
For your purposes, yes, since you are doing counts. My process is more to see what's happening and to diagnose long running queries etc.
That said, if I found a...
September 19, 2018 at 9:52 am
September 19, 2018 at 5:33 am
September 17, 2018 at 9:10 am
September 17, 2018 at 9:06 am
August 28, 2018 at 5:59 pm
August 7, 2018 at 8:52 am
Viewing 15 posts - 31 through 45 (of 595 total)