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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

cross report drill through passing order date greater than instead of equal

Hi,

 

I have a cross report drill through from source report A to target report B.  Lets say I have Order Number 1234 and Order Date of 1/1/2024 on source report A, I then do cross report drill to report B.  Instead of passing Order Number = 1234 and Order Date = 1/1/2024, for Order Date, can I have it pass as Order Date > 1/1/2024 instead of =?  

Thanks!

 

cognosuser_0-1721413733506.png

 

cognosuser_1-1721414742875.png

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @v-zhengdxu-msft,

 

Thanks for your reply.  was going to try out your solution but noticed that you are using 3rd party slicer, as a company, we are not allowed to use 3rd party slicers.  

 

Thanks!

v-zhengdxu-msft
Community Support
Community Support

Hi @Anonymous 

 

Unfortunately that the Drill through can only filter the target report page with "is" but not "After" or "Before".

 

Here is an alternative workaround:

I have a set of sample data:

vzhengdxumsft_0-1721613776851.png

Then add a new table:

Table 2 = VALUES('Table'[Date])

vzhengdxumsft_2-1721613834958.png

Create a slicer with 'table'[Date] in page 1:

Click the Sync slicers in the view pane:

vzhengdxumsft_7-1721614074174.png

In Advanced options's box, Type the Date:

vzhengdxumsft_6-1721614023973.png

 

And a slicer with 'Table 2'[Date] in page 2 and type the same Date too.

vzhengdxumsft_8-1721614365284.png

Next, search for the Preselected Slicer in the Get more visuals:

vzhengdxumsft_9-1721614494388.pngvzhengdxumsft_10-1721614512735.png

Enter data:

vzhengdxumsft_11-1721614545796.png

And create a measure:

MEASURE =
VAR _slicer =
    MAX ( 'Table 2'[Date] )
RETURN
    IF ( MAX ( 'Table'[Date] ) > _slicer, TRUE (), FALSE () )

Add the preselected slicer to the report:

vzhengdxumsft_12-1721614636569.png

The result is as follow:

When click the 2024-1-1 in page 1:

vzhengdxumsft_13-1721614741081.png

In page 2, the Preselected slicer can select the date that are after 2024-1-1.

vzhengdxumsft_14-1721614768771.png

You can use the vzhengdxumsft_15-1721614892409.png button to hide the slicer in the page 2:

vzhengdxumsft_16-1721614991646.png

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors