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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
IntaBruce
Helper II
Helper II

One slicer, two date fields

There seem to be a couple of posts similar to this question but not one that fits my situation exactly.

I am tracking receipts and dispatches of items.  The receipt date is recorded in the Items table and the dispatch date is recorded in the dispatch table.  Items relate to a Case and case details are held in a third table,

 

Items_Table {item_id}, {Receipt_date}, {case_id}, {dispatch_id}

Dispatch_Table {dispatch_id}, {Dispatch_date}, {case_id}

Case_Table {case_id}, {case_details}

 

Cases can have many Items and many Dispatches

Dispatches can have many Items but relate to just one case

 

I want a date slicer that will filter a Case table to show all cases that have an associated item either received or dispatched.  Is this possible?

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @IntaBruce 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@IntaBruce, If the case table is capable of serving as the master for the other two tables, proceed with that approach. Otherwise, generate a table containing only the shared case IDs. Integrate a date table and join these two Dispatch_Table and Items_Table tables.

Following this, you can create visuals incorporating case IDs and dates from the master tables, utilizing measures from both the Dispatch_Table and Items_Table.

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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