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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
CalebG
Frequent Visitor

Two date columns in one table

Hi! I currently have a table with a "Created On" and "Deactivated On" date. In my dashboard, I have these separated into two separate visuals but I want to have a date slicer that has the same effect on both. For example, if I want the date to be 6/1/2023 to 6/19/2023, I want the first table to show all cases created in that range and the second table to show the cases deactivated in that range. When I do this now it only accounts for the "Created On" date which gives me smaller results in the deactivated table. Does anyone know if there is a way to do this

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

You'll need to have a date table with both the date fields joined to it. Then create measures that you use to calculate a count of records to be used in your charts and use the USERELATIONSHIP fucntion to switch the active relationship to whichever field you want to use.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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