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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Selwynster
Helper II
Helper II

Referencing a field from a query in Measures Folder

 
4 REPLIES 4
johnyip
Super User
Super User

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.