Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 102 | |
| 39 | |
| 29 | |
| 29 |