Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a very simple unit conversion problem that I haven't been able to solve in a Direct Query dashboard.
Table 1: Has 2 columns, date and value.
I would like to be able to display the value column in different units, selected by the user (for example via slicer?)
I created Table 2 with two columns: UnitName and ConversionFactor
The value I want to be able to display in my visuals is Table1[value] * Table2[ConversionFactor]
However given there is no relationship between the tables i cannot use RELATED to do this calculation and so far I haven't found an alternative.
Open to other ways to achieve this result in DirectQuery.
Thanks
Solved! Go to Solution.
This can be solved using a simple calculated measure:
MyMeasure = AVERAGE(Table1[Value]) * AVERAGE([Table2[ConversionFactor]])
When user selects the Table2[UnitName] in the slicer, the visualization of MyMeasure against Table1[Date] updates the converted value correctly in Direct Query.
This can be solved using a simple calculated measure:
MyMeasure = AVERAGE(Table1[Value]) * AVERAGE([Table2[ConversionFactor]])
When user selects the Table2[UnitName] in the slicer, the visualization of MyMeasure against Table1[Date] updates the converted value correctly in Direct Query.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.