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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
allwynbazil
Helper I
Helper I

Merging two SharePoint lists in PowerBI

Team,

 

I have two SharePoint lists. One is with Project details and another with weekly progress for each project. The Project table has Project name and Benefits. The Progress table has Project(Lookup from column from Projects table), Date, and Weekly Progress. In Progress Table, there are multiple rows for weekly progress for each project with the date.

 

allwynbazil_0-1663247237539.png

I would like to merge the tables and show the fields below in a table visual in PowerBI.

  • Project name (from Project Table)
  • Benefits (from Project Table)
  • Weekly Progress(The progress should be for the latest date).  (From Progress Table)

Please help me to achieve the result in PowerBI

 

Regards,

Alwin

 

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @allwynbazil 

 

If both tables have Project column, you can build a relationship between them on Project column, then bring columns from corresponding tables into the table visual. 

 

For the weekly progress, you can create the following measure

Latest Progress =
VAR _lastDate = MAX ( 'ProgressTable'[Date] )
RETURN
    CALCULATE (
        MAX ( 'ProgressTable'[Progress] ),
        'ProgressTable'[Date] = _lastDate
    )

 

Hope this helps. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @allwynbazil 

 

If both tables have Project column, you can build a relationship between them on Project column, then bring columns from corresponding tables into the table visual. 

 

For the weekly progress, you can create the following measure

Latest Progress =
VAR _lastDate = MAX ( 'ProgressTable'[Date] )
RETURN
    CALCULATE (
        MAX ( 'ProgressTable'[Progress] ),
        'ProgressTable'[Date] = _lastDate
    )

 

Hope this helps. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thanks for looking into the issue @v-jingzhang. I fixed this issue using Bookmarks and Selection Options.

And I used the measure as you suggested to display the latest progress.

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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