Data filtering

HI Guys! Very Good day. Wish all of you are fine.

When I will select a specific [UserInfoID] from Table 1, I would like to see the data (in a table view) from Table 2 those are common for [SemID] & [CourseListID]. Wait for your kind help.

Thanks and Regards.

Table 1

CourseRegIDUserInfoIDSemIDCourseListID
    
40d5349c28d93b405eafd1be3
c633f76328d93b405dc0ea615
6f3919e2585a77448d93b405eafd1be3
bd9c2c7a585a77448d93b405dc0ea615
d7538a2428d93b40506797cf1

Table 2

CourseRoutineIDSemIDCourseListIDDayName
1442432d8d93b405dc0ea615Tuesday
544097ac8d93b405dc0ea615Monday
619648938d93b405eafd1be3Tuesday
9555322a8d93b40506797cf1Thursday
5670edccab8974d3dc0ea615Friday
db678ebe82952595f6deba05Wednesday
0 5 141
5 REPLIES 5

Sounds like what you're looking for is an event action when the user selects a row in Table 1 that triggers a LINKTOFILTEREDVIEW expression.

To add to dbaum's guidance, I would create a virtual col which concatenates [SemID] & [CourseListID] in both T1 and T2.

This way the filter expression in the LINKTOFILTERDVIEW becomes very simple like below.

LINKTOFILTEREDVIEW("T2",
 IN(
  [COMBO], SELECT(T1[COMBO], [UserInfoID] = [_THISROW].[UserInfoID])
 )
)

 

Hi @dbaum & @TeeSee1 ! Thanks a lot for your kind reply.

I have another issue related to this is that I didn't use linktoview() as the list view will be a View Entry in a Dashboard. Therefore, I didn't think about LINKTOFILTEREDVIEW. Because My plan is to show three VIEWs together in a dashboard.

Animation.gif

Well the way I did then is create a 'filter' table where you select a UserInfo.

Create slices for T1 and T2 and apply filters based on the value chosen in the first table. The dashboard should contain views based on the slices.

Thanks @TeeSee1 . Actually, I know this, but my one is a bit different. I will share with you here. 

Top Labels in this Space