Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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
I want to have a list where i can have the new added material .
Please help, thanks in advance
BR
Yashh
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
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:
Load the data from both files into Power BI as separate tables. Let's assume you have loaded them as "File1" and "File2" tables.
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.
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:
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.
Load the merged table with the calculated column into Power BI as a new table.
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.
User | Count |
---|---|
101 | |
69 | |
58 | |
47 | |
47 |