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

View all the Fabric Data Days sessions on demand. View schedule

Reply
gluizqueiroz
Resolver I
Resolver I

How to drill-through a date (from Calendar) and show all lines that have this date on various column

I have 2 tables, named Table_Tickets and Dim_Calendar, like the following:

Model.jpg

I have created a chart, like the following:Graph.jpg

When I drill-through a date (for example, 2020-11-05) in this chart, the page just show me the Id_Ticket = 2, because this ticket was created in "2020-11-05", but this is not right to my case, I need the page show me Id_Ticket = 1 and 2, because ticket 1 was closed (and resolved too) in "2020-11-05" and ticket 2 was created in "2020-11-05", in other words, when I drill a date, I need to see all the tickets with "action" in this date, all the tickets that was created in this date OR was closed in this date OR was resolved in this date, not just created.

 

Someone know how I achive this?

1 ACCEPTED SOLUTION

Hey @amitchandak, using your ideia I have changing my model to 3 relationships deactivated and created this measure:

 

Ind_ShowOrHide = 
VAR DaySelec = SELECTEDVALUE(Dim_Calendar[Date])
VAR Create = SELECTEDVALUE(Table_Tickets[Date_Creation])
VAR Closed = SELECTEDVALUE(Table_Tickets[Date_Closed])
VAR Resolved = SELECTEDVALUE(Table_Tickets[Date_Resolved])
RETURN
IF(Create= DaySelec || Closed = DaySelec || Resolved = DaySelec ,
    1,
    0
)

 

 And I put this measure on my table and made a permanent filter to Ind_ShowOrHide = 1 and it worked.

 

Thanks for helping.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@gluizqueiroz , Refer my HR Blog - https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

or between dates blog

https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hey @amitchandak, using your ideia I have changing my model to 3 relationships deactivated and created this measure:

 

Ind_ShowOrHide = 
VAR DaySelec = SELECTEDVALUE(Dim_Calendar[Date])
VAR Create = SELECTEDVALUE(Table_Tickets[Date_Creation])
VAR Closed = SELECTEDVALUE(Table_Tickets[Date_Closed])
VAR Resolved = SELECTEDVALUE(Table_Tickets[Date_Resolved])
RETURN
IF(Create= DaySelec || Closed = DaySelec || Resolved = DaySelec ,
    1,
    0
)

 

 And I put this measure on my table and made a permanent filter to Ind_ShowOrHide = 1 and it worked.

 

Thanks for helping.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors