Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi Team,
Power Query syntax :
I need following result for ID 5 only, please help me.

Thanks,
KV's
@Anonymous
I would recommend you create this column using dax instead power query, which is much simpler.
Hi,
Why should the answer be 4? Why not 0.65 or 0.35? Bother to explain in detail.
Hi,
Try this calculated column formula
Weight = calculate(max(data[value]),filter(data,data[markets]=earlier(data[markets])&&data[id]=39))
Hope this helps.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |