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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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