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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Yashh
Helper II
Helper II

Find the new materials added

Hello @Ahmedx 

I have a small problem with the data

This data is from 2 files which gets updated everyday. In this data table in the last line we have a new SAP number added i.e 123456

Yashh_0-1686915999326.png


I want to have a list where i can have the new added material .

Please help, thanks in advance
BR

Yashh 

2 REPLIES 2
Yashh
Helper II
Helper II

Hello @vs_7 

Thhe files cannot be seperated in the diffent tables as it needs to be done everyday and also needs to have every revision in it.

BR
Yashh 

vs_7
Responsive Resident
Responsive Resident

Hi @Yashh ,

try out the steps below:

To identify the newly added material based on the data from the two files, you can follow these steps:

  1. Load the data from both files into Power BI as separate tables. Let's assume you have loaded them as "File1" and "File2" tables.

  2. Merge the two tables using the "Append Queries" feature in Power Query.

    a. In Power Query, select the "File1" table and go to the "Home" tab.

    b. Click on "Append Queries" and select "File2" from the options.

    c. Power Query will combine the two tables into a single table.

  3. Create a calculated column to identify the newly added material.

    a. In Power Query, select the merged table and go to the "Add Column" tab.

    b. Click on "Custom Column" and provide a column name, such as "Newly Added Material".

    c. In the formula bar, enter the following formula:

  4. Newly Added Material = IF(ISBLANK([SAP Number]), "Newly Added", "")
  5.  
  6. This formula checks if the "SAP Number" column is blank. If it is blank, it assigns the value "Newly Added" to the "Newly Added Material" column; otherwise, it leaves it blank.

  7.  
  8. Load the merged table with the calculated column into Power BI as a new table.

  9.  
  10. In your Power BI report, create a table visual and add the "Newly Added Material" column to it.

    This table will display the materials that have been newly added based on the "SAP Number" column. You should see "Newly Added" next to the newly added material's row in the table visual.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.