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
Vegard1985
Helper I
Helper I

Multiple fact tables -> date table with currency conversion?

Hi experts,

 

Sorry, I haven't been able to find a similar question. Just a small background story:

We're trying to construct a "down to up" P&L where anything linked to gross profit comes from one report/dataset (a sales report), and cost comes from another report/dataset (an opex report). 

 

 

The sales report is the largest dataset (I guess naturally), with a lot of dimensions, a date calendar etc. The opex report wasn't created yet, and my thought initially was to create the opex report as simple as possible, and connect this report to the sales report's date calendar since this already was constructed. There's also built in a "multiple source to multiple target currencies conversion" in the sales report following the logic of daxpatterns linked here: daxpatterns/currency-conversion . Here I'm starting to struggle a bit. 

 

Just for the sake of information, the opex report is published to PBI service and connected to the "original sales report" as a PBI dataset. This new combined report is also published to PBI service, and we've created another report pulling this combined dataset (seems a bit much I guess, but we wanted to have a "clean combined dataset" and have measures in a new report, partly to also test composite model functionality).

 

Is this at all doable? Can we have multiple fact tables connected to the date calendar and a currency conversion model?

Do you see if there's anything that would break or cause issues with this model? Would any of the relationships need to have the cross filter direction set to both?

 

MultiFact_Curr_conversion.png

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Vegard1985 ,

 

There is no issue to have several table connected to the date table and the currency conversion model, the only question is that you need to be sure that the relationships don't create any link between the facts that will generate inactive relationships (but believe will not happen).

 

Regarding the question about the cross filtering I think is better not to active it and then make use of the CROSSFILTER function on the measures if needed. Chech the video below:

https://www.youtube.com/watch?v=44JKwL3Js10


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Hi @Vegard1985 ,

 

There is no issue to have several table connected to the date table and the currency conversion model, the only question is that you need to be sure that the relationships don't create any link between the facts that will generate inactive relationships (but believe will not happen).

 

Regarding the question about the cross filtering I think is better not to active it and then make use of the CROSSFILTER function on the measures if needed. Chech the video below:

https://www.youtube.com/watch?v=44JKwL3Js10


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi Miguel - thanks, and thanks for the tip, makes sense!

If you have any issues while developing the solution please tell me.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.