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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Complex time query

Hello,

 

I have a complex time query and i figure out how to transform this in powerbi.

I have a table with subscribers, and subcribe strat time + subscribe end date.

I have a DIM date table.
51SI1.png

I don't know how to retrieve with a simple slicer the following informations:

- All the subscriptions started before but not ended during the period.

- All the subscriptions started before and ended during the period.

- All the subscriptions started during the period and finished during the period.

- All the subscriptions started during or before the period and not finished during this period.

 

This problem look realy simple but it is difficult to solve for me !

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

It sounds like a general multiple fields date range analysis requirement, you can refer to the following link to create expand the table with detailed records and mapping to the raw table.

Spread revenue across period based on start and end date, slice and dase this using different dates 
Then you can create a slicer with new table date fields to integrate with raw table date ranges.

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

It sounds like a general multiple fields date range analysis requirement, you can refer to the following link to create expand the table with detailed records and mapping to the raw table.

Spread revenue across period based on start and end date, slice and dase this using different dates 
Then you can create a slicer with new table date fields to integrate with raw table date ranges.

Regards,

Xiaoxin Sheng

parry2k
Super User
Super User

@Anonymous It will be easier if you share pbix file using one drive/google drive with the expected output. Remove any sensitive information before sharing.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors