Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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 April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
77 | |
73 | |
71 | |
45 | |
42 |
User | Count |
---|---|
48 | |
47 | |
29 | |
28 | |
28 |