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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Combine two visual with filters applied on those visuals

I have a situation where there are two table visuals on two different pages and visual level filters are applied on those two visuals.

Now according to the requirement those two visuals needs to be combined in a single table.

For more information on this please have a look at the attached sample pbix file and please suggest some ideas on how can I combine those two visuals in such a way that all the records from those two visuals should show in a single visual.

 

1 ACCEPTED SOLUTION
jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,

I would suggest combining the two tables in the below format:

jaideepnema_0-1612949922300.png

I have created two additional calculated columns 

 

Week Flag = SWITCH(TRUE(),

Table1[Submission Date] >= TODAY()-14 && Table1[Submission Date]<TODAY()-7,1,

Table1[Submission Date]>=TODAY()-7&&Table1[Submission Date]<=TODAY(),2,BLANK())
Week = SWITCH(Table1[Week Flag],1,"Previous 2 Weeks",2,"Last 7 Days",BLANK())

And then i have created a matrix which gives the result as shown above.
 
Please accept this as a solution if this answer resolves your query 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@jaideepnema - Could you please upload the pbix file over google drive or one drive.

I am not able to replicate the same in matrix.

Hi @Anonymous 
here is the link for the file

https://we.tl/t-aawhTBoN1f

 

 

jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,

I would suggest combining the two tables in the below format:

jaideepnema_0-1612949922300.png

I have created two additional calculated columns 

 

Week Flag = SWITCH(TRUE(),

Table1[Submission Date] >= TODAY()-14 && Table1[Submission Date]<TODAY()-7,1,

Table1[Submission Date]>=TODAY()-7&&Table1[Submission Date]<=TODAY(),2,BLANK())
Week = SWITCH(Table1[Week Flag],1,"Previous 2 Weeks",2,"Last 7 Days",BLANK())

And then i have created a matrix which gives the result as shown above.
 
Please accept this as a solution if this answer resolves your query 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.