March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |