Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Selwynster
Helper II
Helper II

Referencing a field from a query in Measures Folder

 
4 REPLIES 4
johnyip
Solution Sage
Solution Sage

To answer your question, you may need to provide the relationship of different tables in your data.

By guessing, your DAX is calculating all the entries of [Forecasted Amount] in the 'Fact Exposure' table, becasue there is no relationship between 'Fact Exposure' and the other table.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

So, there is only one table. But i am referencing it from another Folder i created, and i am creating a new Measure within that folder. Hope this makes sense?

v-jingzhang
Community Support
Community Support

Hi @Selwynster 

 

If you want to reference a measure in another measure, you can use it directly. If Forecasted Amount is a measure, Forecast Premium could be 

Forecast Premium =
VAR vForecastPremiumGuaranteeAmount = [Forecasted Amount]
RETURN
    IF (
        NOT ISBLANK ( vForecastPremiumGuaranteeAmount ),
        vForecastPremiumGuaranteeAmount
    )

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thank you. 'Forecasted Amount' is from another table so i cannot reference it directly.
Error: "Cannot find Name '[Forecasted Amount]')

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.