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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
georgy_gryaznov
Frequent Visitor

Filtering and grouping dataset with pivoting

Hi, could you please help me to make a report .
For example, i have a data source of events "assigning managers for customers"
Customer Assigned Assign_date

Mr.Smith Georgy 09.01.2017

Mr.Smith Rob 01.02.2017

Mr.Brown Tedd 08.01.2017

Mr.Brown  Georgy 01.02.2017

 

and if I set filter Assigned = Georgy and period_start = 01.01.2017 and period_end = 28.02.2017, my report should look like this

Mr.Smith Georgy 09.01.2017 - 01.02.2017

Mr.Brown Georgy 01.02.2017 - now

 

The need is to show the participation of the Manager in all customers for the period.

 

Thanks

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi georgy_gryaznov,

 

I would recommend you to create a measure or calculate column using DAX below and check if it can meet your requirement:

Period =
VAR Start_Date =
    CALCULATE ( MIN ( Table[Assign_date] ), ALLSELECTED ( Table ) )
VAR End_Date =
    CALCULATE ( MAX ( Table[Assign_date] ), ALLSELECTED ( Table ) )
RETURN
    CONCATENATEX ( Table, Start_Date & "-" & End_Date )

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi georgy_gryaznov,

 

I would recommend you to create a measure or calculate column using DAX below and check if it can meet your requirement:

Period =
VAR Start_Date =
    CALCULATE ( MIN ( Table[Assign_date] ), ALLSELECTED ( Table ) )
VAR End_Date =
    CALCULATE ( MAX ( Table[Assign_date] ), ALLSELECTED ( Table ) )
RETURN
    CONCATENATEX ( Table, Start_Date & "-" & End_Date )

Regards,

Jimmy Tao

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors