The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
The following works to create a table:
Solved! Go to Solution.
Ok fine, I guess that sorts it. But how does SUMMARIZE know the column name is dynamically calculated,? I thought the whole point of VARs is that they are calculated before the actual code.
Thanks D, that was all totally on point. Much appreciated.
Hi @MasterP ,
In the first 2 cases you are actually passing a single value in SUMMARIZE function - "AA" and C1 = "AA"
But, in 3rd case, LOOKPVALUE function returns multiple values in column Vehicles[Ticker] where you get a match.
Therefore, it's giving error.
Also, if you refer the foloiwng link on LOOKUPVALUE and check "Returns Value" section:
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |