Forum Discussion

JimB-GA's avatar
JimB-GA
Helper III
7 years ago
Solved

Creating an index column

Hello BI community,   I have an Excel file I am loading into BI that lacks a unique identifier.  I would like to create an index column.   Following is an example of the Excel file:   Date Desc...
  • adityavighne's avatar
    7 years ago

    create new column in the


    JimB-GA wrote:

    Hello BI community,

     

    I have an Excel file I am loading into BI that lacks a unique identifier.  I would like to create an index column.

     

    Following is an example of the Excel file:

     

    Date	Description
    3/29/2019	PRUDENTIAL ABSOLUTE RETURN BOND FUND CLASS A
    3/29/2019	TEMPLETON GLOBAL INCOME FUND
    3/29/2019	BLACKROCK CORE BOND TRUST
    3/28/2019	ALPHACENTRIC INCOME OPPORTUNITIES FUND CLASS A
    3/27/2019	PROSHARES TR ULTRASHORT 20+ YR TREAS NEW
    3/27/2019	NUVEEN ENHANCED MUNICIPAL VALUE FD
    3/27/2019	PROSPECT CAPITAL CORPORATION
    3/27/2019	BLACKROCK CORE BOND TRUST
    3/27/2019	AMG FQ US EQUITY FUND CLASS N
    3/26/2019	OPPENHEIMER ROCHESTER HIGH YIELD MUNICIPAL FUND CLASS A
    3/26/2019	ISHARES TR RUSSELL 2000 ETF
    3/25/2019	VanTar2025
    3/25/2019	VanTar2025
    3/22/2019	SELECT SECTOR SPDR TR FINANCIAL

    I would like a sequential index column in the Power BI table.

     

    I appreciate your assistance.

     

    Regards

     

    JimB-Ga



    JimB-GA wrote:

    Hello BI community,

     

    I have an Excel file I am loading into BI that lacks a unique identifier.  I would like to create an index column.

     

    Following is an example of the Excel file:

     

    Date	Description
    3/29/2019	PRUDENTIAL ABSOLUTE RETURN BOND FUND CLASS A
    3/29/2019	TEMPLETON GLOBAL INCOME FUND
    3/29/2019	BLACKROCK CORE BOND TRUST
    3/28/2019	ALPHACENTRIC INCOME OPPORTUNITIES FUND CLASS A
    3/27/2019	PROSHARES TR ULTRASHORT 20+ YR TREAS NEW
    3/27/2019	NUVEEN ENHANCED MUNICIPAL VALUE FD
    3/27/2019	PROSPECT CAPITAL CORPORATION
    3/27/2019	BLACKROCK CORE BOND TRUST
    3/27/2019	AMG FQ US EQUITY FUND CLASS N
    3/26/2019	OPPENHEIMER ROCHESTER HIGH YIELD MUNICIPAL FUND CLASS A
    3/26/2019	ISHARES TR RUSSELL 2000 ETF
    3/25/2019	VanTar2025
    3/25/2019	VanTar2025
    3/22/2019	SELECT SECTOR SPDR TR FINANCIAL

    I would like a sequential index column in the Power BI table.

     

    I appreciate your assistance.

     

    Regards

     

    JimB-Ga




    same table with below DAX

     

    generate = GENERATESERIES(1,100,1)