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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 67 | |
| 51 | |
| 38 | |
| 26 | |
| 22 |
| User | Count |
|---|---|
| 136 | |
| 116 | |
| 55 | |
| 36 | |
| 31 |