The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Currently I have two tables that are independent and THERE IS NO RELATIONSHIP between them.
Therefore, I cannot use the RELATED DAX function.
Do I have to create a relationship? Or could there be another function
More details : what I want is to calculate the % of completion :
Hi,
You may be able to use the LOOKUPVALUE() function.
@Anonymous ,
From City to sales
City Name = maxx(FILTER(geography,geography[City Id]=Sales[City Id]),geography[City])
From sales to City
City Name = Sumx(FILTER(Sales,geography[City Id]=Sales[City Id]),Sales[Amount])
In filter you can add conditions as per need
I'll give more information to explain the problem
Hi @Anonymous
Yes, to use RELATED function you have to have a relationship between tables.
Can you share what do you want to achieve? Maybe we can find another solution.
_______________
If I helped, please accept the solution and give kudos! 😀
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
101 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
264 | |
120 | |
115 | |
83 | |
70 |