Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi experts,
Update: I updated the file. Reduced its size by 90%.
Wanted to see if I can find a particular value based on a condition.
I tried to use Minx function but have no clue how to move forward. Attached is the pbix.
Problem statement:
Any help is appreciated.
https://drive.google.com/file/d/1Rh8LUGseeidYTaud_T-GfoGsvpgb7zEx/view?usp=sharing
Thanks,
Ritesh
Solved! Go to Solution.
HI @Ritesh_Air,
You can try to use the following measure formulas to get the max sale and the row counts of a specific range based on the target.
Target=0.8
MAX Sales =
CALCULATE (
MAX ( 'Table'[Sales] ),
FILTER ( ALLSELECTED ( 'Table' ), ROUNDDOWN ( [Rate], 2 ) = [Target])
)
Row counts =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( ALLSELECTED ( 'Table' ), ROUNDDOWN ( [Rate], 2 ) = [Target] )
)
If above not helps, please share some dummy data to test. (your sample file seems expired so I can't access it)
Regards,
Xiaoxin Sheng
HI @Ritesh_Air,
You can try to use the following measure formulas to get the max sale and the row counts of a specific range based on the target.
Target=0.8
MAX Sales =
CALCULATE (
MAX ( 'Table'[Sales] ),
FILTER ( ALLSELECTED ( 'Table' ), ROUNDDOWN ( [Rate], 2 ) = [Target])
)
Row counts =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( ALLSELECTED ( 'Table' ), ROUNDDOWN ( [Rate], 2 ) = [Target] )
)
If above not helps, please share some dummy data to test. (your sample file seems expired so I can't access it)
Regards,
Xiaoxin Sheng
What determines the order in which the sum is acumulated? Alphabetical, date of transaction, value of the transaction, random?
The sum is accumulated in desc order of sales amount. If you sold the most, you are at the top.
thanks,
Ritesh
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.