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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Blitz
New Member

How to generate duplicated rows with multiple values computed column ?

Hi,

 

I'm searching for days, I can't figure out how to make this:

 

My table

 

_example = 
    ADDCOLUMNS(
        FILTER(
            SUMMARIZE(_distancial_amont_dates_interval; _distancial_amont_dates_interval[start_date]; _distancial_amont_dates_interval[end_date]);
            _distancial_amont_dates_interval[start_date] <> BLANK()
        );
        "date"; CONCATENATEX(CALENDAR(_distancial_amont_dates_interval[start_date]; _distancial_amont_dates_interval[end_date]); [Date]; "; ")
    )

 

As you can see, I have a table with a column that contains a list of generated dates.

I simply want to have a row per date.

I know I will have a lot of duplicated data, but I need this to make statistics date per date.

 

 

Thanks for your help.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Blitz

In Query Editor, split the column and then do a unpivot.

 

 split&unpivot.gif

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Blitz

In Query Editor, split the column and then do a unpivot.

 

 split&unpivot.gif

@Eric_Zhang

 

Thanks for your answer.

 

I'm not sure to be able to do that on a computed column.

 

But never mind, I found a quick workaround, but I hope it could help some others.

I generated dates directly in MS Dynamics (it's a bit ugly, but it's light and it works well). 

 

Thanks for your help.

Blitz.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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