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
Frune1982
New Member

extract lines in dataset

Hi, 

 

Currently I have several lines in my Bi model.

It is booking data from a holiday park.

In the screenshot below you see 2 bookings:

 

booking1 : from 22 dec 2014 until 02 jan 2015 for 11 nights in chalet 99. Booking was made on 27 august 2014

booking2 : from 23 jan 2015 until 26 jan 2015 for 3 nights in chalet 171. Booking was made on 8 sept 2014

Frune1982_0-1704219862591.png

I would like to see a different line for every booked day (=stayed night).

So for booking 1:

22/12/2014

23/12/2014

24/12/2014

25/12/2014

26/12/2014

27/12/2014

28/12/2014

29/12/2014

30/12/2014

31/12/2014

01/01/2015

the other columns should remain the same on every line...

 

Regards, 

 

Fred.

1 REPLY 1
Anonymous
Not applicable

@Frune1982  Have you tried unpivoting the below columns in the Query Editor?

bchager6_0-1704221131371.png

 

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