Forum Discussion
New Measure, search and return
- Anonymous5 years ago
HI Anonymous,
I'd like to suggest you add a new calculated column to table2 to extract the fact page id:
PageID = PATHITEM ( SUBSTITUTE ( [Page], "/", "|" ), PATHLENGTH ( SUBSTITUTE ( [Page], "/", "|" ) ) )Then you can use this field and the date range of the 'week number' to summary records.
Measure = VAR currDate = MAX ( Table[Action Date] ) VAR _list = CALCULATETABLE ( VALUES ( Table[Campaign Page ID] ), FILTER ( ALLSELECTED ( Table ), YEAR ( [Action Date] ) = currDate ), VALUES ( Table[Action Week] ) ) RETURN CALCULATE ( SUM ( Table2[Clicks] ), FILTER ( ALLSELECTED ( Table2 ), [PageID] IN _list && WEEKNUM ( [Date] ) = WEEKNUM ( currDate ) && YEAR ( [Date] ) = YEAR ( currDate ) ) )Regards,
Xiaoxin Sheng
Hi Ashish_Mathur ,
If in excel, I'll proceed by steps.
But the final data in step3 is need to be breakdown by date in chart, which is not applicable.
Here is the excel sample file.
And here is the PBI sample data.
The purpose is I can find a way, either by create Measure or any else, to get the Sum of Impressions and add into trend line.
Hope you can help.
Thanks in advance.
H
Share the files over some other file hosting service such as Google Drive. Mediafire is replete with ads. When i click on Download, it just opens up an ad window.
- Anonymous5 years agoNot applicable
Hi Ashish_Mathur , Thanks for you remind! I haven't been awared of this issue yet!
Here is the downloadable sample PBI file shared from Microsoft OneDrive, hopefully it's downloadable and I may have your help.
- Ashish_Mathur5 years ago
Super User
Hi,
I have downloaded your PBI file but cannot understand what you want.