Forum Discussion
Link data in Power BI
- 8 years ago
Hi jonasarnout,
If there is relationship between 'Voy Calc Req SN' and 'Schedule App Qry'? You create a measure rather than calculated column, right? If it is, please use the formula below and check if it works fine.= CALCULATE ( FIRSTNONBLANK ( 'Voy Calc Req SN'[TRADE], 'Voy Calc Req SN'[TRADE] ), FILTER ( 'Voy Calc Req SN', [SHIP] = 'Schedule App Qry'[ship] && [VOY] = 'Schedule App Qry'[Last Voyage] ) )
Best Regards,
Angelia
Hi jonasarnout,
If there is relationship between 'Voy Calc Req SN' and 'Schedule App Qry'? You create a measure rather than calculated column, right? If it is, please use the formula below and check if it works fine.
=
CALCULATE (
FIRSTNONBLANK ( 'Voy Calc Req SN'[TRADE], 'Voy Calc Req SN'[TRADE] ),
FILTER (
'Voy Calc Req SN',
[SHIP] = 'Schedule App Qry'[ship]
&& [VOY] = 'Schedule App Qry'[Last Voyage]
)
)
Best Regards,
Angelia
- jonasarnout8 years ago
Advocate I
Hi Angelia
your formula works great!
I have used it to create a calculated column instead of a measure.
I would use a measure for operations with agregates.
the trade is text and will be used as a row filter hence a column seems more logical to me.
what is your motivation to suggest a measure instead of a calculated column in this case?