I have a scenario in Power BI:
I have a simple Transaction Table, with Order and Delivery years in two columns, with an Amount column.
I do not care about the ProductId column for my visuals; the only columns I am intersted are the Order and Delivery years, and Amount.
I am able to get correct values with a single measure, but in two different visuals.
AmountTotal = SUM(TransactionTable[Amount])
When I combine the above two visuals together, I get the following, which is NOT desired:
However, I need a different visual, in which I combine both the datasets, and develop two measures, and a new filter context clubbing the data from the Order Year and Delivery Year.
I am using Power BI embedded in a SaaS application, that does NOT allow me to add new tables, or relationships (obviously).
All I can do is, just add Calculated Columns and Measures in the DAX language on a single existing table (TransactionTable).
I thought of USERELATIONSHIP, am yet to try though; remember, I cannot add a Date dimension table or any Calculated Table to the model. This is a typical scenario of Role Playing dimension in SQL; generally handeled in SSAS-Tabular or Multidimensional Models.
See the .pbix file attached.



