The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have been following an online power BI course and all the measure I have used untill now have worked. however the current one won't work and I can not get my head around it.
The problem:
I need to create a Calculations using DAX measure based on rows in a column, in the explanation video from davidson university it works straight away but when I put it in it states table not found.
formula:
Solved! Go to Solution.
Hello,
Try this GDP = CALCULATE(SUM(indicators[Value]), ( indicators[Indicator Code]) = "NY.GDP.MKTP.CD")
You must use " and not '
Dont forget to accept this as a solution if it helped 🙂
You'll probably learn more if you solve this yourself.
Simplify the DAX and test it. Start with SUM(indicators[Value]) .. Just use that as a measure.
It works? Great.
Add a calculate.
Works? Great.
Add the condition.
Maybe it breaks. Dig in at that point. Check syntax, brackets, quotes.
Compare to the code provided by the course.
Thanks a lot, dumb mistake! I will blame it on wathcing too much to the screen
Hello,
Try this GDP = CALCULATE(SUM(indicators[Value]), ( indicators[Indicator Code]) = "NY.GDP.MKTP.CD")
You must use " and not '
Dont forget to accept this as a solution if it helped 🙂
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 August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
80 | |
80 | |
47 | |
40 |
User | Count |
---|---|
152 | |
110 | |
64 | |
64 | |
57 |