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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.