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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dmzhou
Regular Visitor

Group by rows based on different columns

Hi Experts, 

I have a requirement which needs your advice

Assuming I have data below

Customer

createTime

closeTime

a

2018-09-11

2018-09-23

b

2018-09-11

2018-09-25

Expecting the result below

Time

CreatedCustomer

ClosedCustomer

2018-09-11

2

0

2018-09-23

0

1

2018-09-25

0

1

 

 

 

 

 

 

How can I achieve this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @dmzhou,

 

You can refer to below link to create new table with expand detail date, then use this table to summary and calculate on records between two date columns:

Spread revenue across period based on start and end date, slice and dase this using different dates

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @dmzhou,

 

You can refer to below link to create new table with expand detail date, then use this table to summary and calculate on records between two date columns:

Spread revenue across period based on start and end date, slice and dase this using different dates

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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