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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
mussaenda
Super User
Super User

Get number between two numbers

Hi,

 

I would like to ask if it's possible to get the number between the two numbers? Please see photo below.

Untitled.png

for example, the first red box

From Entry No : 57

To Entry No : 60

 

What I need is to show the numbers between them with the date same to the row of from entry no to to entry no

Entry No : 57, 58, 59, 60.

Instead of having one row, I will now have 4 rows.

 

Please let me know if this is possible. Thank you.

 

Sample:

From Entry No.       To Entry No.              Date

1                                    5                    31/05/2019

6                                    7                    01/06/2019

 

Expected:

Entry No.                 Date

1                             31/05/2019

2                             31/05/2019

3                             31/05/2019

4                             31/05/2019

5                             31/05/2019

6                             01/06/2019

7                             01/06/2019

 

 

Thank you.

 

Mia

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@mussaenda 

 

Using Power Query, add following custom column>>then expand to new rows

 

={[From Entry No_]..[To Entry No_]}

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

@mussaenda 

 

Using Power Query, add following custom column>>then expand to new rows

 

={[From Entry No_]..[To Entry No_]}

It worked perfectly!

Thank you @Zubair_Muhammad 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.