Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Merging monthly data with daily data - best way?

I have a PBI report that ive taken on from someone else and an issue has been found so im not building this from scratch.

 

What i need to do is is create a relationship between daily and monthly data.

 

Exchange rate is monthly 

- Sep-2021, GBP, 0.7

- Sep-2021, USD, 1.1

- Oct-2021, GBP, 0.75

 

Fact table data is daily

-01-Sep-2021 - 20.3

 

there is no join between currency. the end user selects 'GBP' and the month total is multiplied by 0.7 for sept-2021

thus this creates a many to many relationship at monthly level

 

 

i see a 2 ways to do this but i am unsure of performance

-expand the core currency table to daily, either in mesaure or the raw data

-summarize the fact table to monthly in this specific measure 

 

can anyone help?

3 Replies