Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello everyone!
I have a transactional table that contains the order ID within 2 columns:
| Article | Order1 | Key | Order2 | Quantity |
| AAAA | 100 | L1 | 2001 | 50 |
| AAAA | 101 | L1 | 2200 | 70 |
| AAAA | 105 | L2 | 100 | 100 |
| AAAA | 106 | L2 | 101 | 100 |
The L1 key defines the last tracked quantity.
The L2 key defines the first tracked quantity.
Now I need to compare these two numbers to get the yield per order level.
But how?
In the example above for order 100, I would compare L1 = 50 with L2 = 100.
How would you build this relationship between a DAX measure?
Hello @joshua1990 ,
How do you mean to compare? What is the logic behing grouping? Is it just:
SUM of Order Qty of L1 / Sum of Order Qty of L2?
Cheers!
Vivek
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |