Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi appreciate the assistance with reference to the Data Table below:
Is there a measure that captures a customer's minimum account balance:
1. at the lowest granularity (i.e. AccountNo level) but
2. at the customer level, it captures the minimum value of the sum of account balances for respective customers
Have included what the desired result should be.
At the moment, I am using powerpivot to extract the minimum balance at the deposit account level.
I then sum the minimum balance of a customers various deposit accounts to arrive at a minimum balance at the customer level using sumif. With data going to the millions of rows, this is just not a practical solution.
Thanks
Alfred
@atavo wrote:
Hi appreciate the assistance with reference to the Data Table below:
Is there a measure that captures a customer's minimum account balance:
1. at the lowest granularity (i.e. AccountNo level) but
2. at the customer level, it captures the minimum value of the sum of account balances for respective customers
Have included what the desired result should be.
At the moment, I am using powerpivot to extract the minimum balance at the deposit account level.
I then sum the minimum balance of a customers various deposit accounts to arrive at a minimum balance at the customer level using sumif. With data going to the millions of rows, this is just not a practical solution.
Thanks
Alfred
Is 300 for the customer Jack in Aug-17 a typo? My understanding is that the value shall be 250(50+200)? If my understanding is correct, you can create a measure as below. See more details in the attached pbix file.
Measure =
VAR summizedTbl =
SUMMARIZE (
'yourTable',
yourTable[Customer],
yourTable[AccountNo],
yourTable[YearMon],
"minBal", MIN ( yourTable[Balance] )
)
RETURN
SWITCH (
TRUE (),
ISFILTERED ( 'yourTable'[Customer] ) && ISFILTERED ( yourTable[AccountNo] ), MIN ( yourTable[Balance] ),
ISFILTERED ( 'yourTable'[Customer] ) && ISFILTERED ( yourTable[YearMon] ), SUMX ( summizedTbl, [minBal] ),
ISFILTERED ( 'yourTable'[Customer] )
&& NOT ( ISFILTERED ( yourTable[YearMon] ) ), CALCULATE (
MIN ( 'Table'[sumMinBal] ),
ALLEXCEPT ( yourTable, yourTable[Customer] )
),
MIN ( yourTable[Balance] )
)
@atavo sorry just to clarify do you mean minimum balance at the earliest date?
if that is what you mean using something like first date might work ie
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
185 | |
73 | |
73 | |
50 | |
42 |