Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |