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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
aakif_aslam
Helper I
Helper I

Automate Transformation

hello,

 

I have two datasets in Excel, one with daily consumption of resources and other with monthly summary. In daily data I have details of Qty at a individual component level but not its price as per comsumption. Similarly in monthly summary there is comsumed Qty and Price but in a summarized manner based on RID. Both the datasets have one unique column RID. 

Basic requirement is to have Price at a component level.

  • My current approach is to append all the daily data in single excel sheet and lookup Price column from different monthly summary tables loaded from different Excel sheets to maintain One-to-Many relationship.
  • This price is based on the RID so using lookup does not filter Prices based on month period, Price keeps on repeating on RID level. I manually have to Lookup multiple monthly Price columns from different summary data and then extract only values filtered by period and merge all the price columns.  I use the avg. Price for further calculations and obtain the required output.
  • Appending all the monthly summary tables removes the uniqueness as the same RID repeats every month, so for two months there are two duplicate RIDs. This creates Many-to-Many Relationship.

I will append the new data in Excel but want to automate this process and avoid current manual transformations.


 

1 REPLY 1
Anonymous
Not applicable

Hi @aakif_aslam ,

 

Please provide some simple sample data and expected results.

Creating relationships based on RID seems to work.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.