Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @Anonymous
Assume your tables are as below
They have relationships as below
Then create measures in Table1
Measure_rank =
RANKX (
FILTER ( ALLSELECTED ( Table1 ), Table1[subgroup] = MAX ( Table1[subgroup] ) ),
CALCULATE ( SUM ( Table1[quantity] ) ),
,
DESC,
DENSE
)
Measure_looklimits = LOOKUPVALUE(Table2[limits],Table2[subgroup],MAX(Table1[subgroup]))
Measure_S/T = IF([Measure_rank]>[Measure_looklimits],"Stock", "Discreet")
Hi @Anonymous
Assume your tables are as below
They have relationships as below
Then create measures in Table1
Measure_rank =
RANKX (
FILTER ( ALLSELECTED ( Table1 ), Table1[subgroup] = MAX ( Table1[subgroup] ) ),
CALCULATE ( SUM ( Table1[quantity] ) ),
,
DESC,
DENSE
)
Measure_looklimits = LOOKUPVALUE(Table2[limits],Table2[subgroup],MAX(Table1[subgroup]))
Measure_S/T = IF([Measure_rank]>[Measure_looklimits],"Stock", "Discreet")
The information you have provided is not making the problem clear to me. Can you please explain with an example. If possible please share a sample pbix file after removing sensitive information.
Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-wi...
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |