Forum Discussion
atavo
8 years agoHelper I
Minimum value at different granularity
Hi I have a fact table with the following columns: Date, CustomerID, BankAcctNo, Balance The fact table basically captures the balances of customers' various deposit accounts daily. P...
- 8 years ago
Hi Ashish,
Thanks for your kind assistance,
this is exactly what I was after. For the benefit of other viewers, here is the measure/ solution:
MINX(
SUMMARIZE('calendar',
'calendar'[Date],
"ABCD",
SUM(Table1[Balance])),
[ABCD])
Alfred
Alfred
v-jiascu-msft
8 years agoMicrosoft Employee
Hi atavo,
Could you please share a sample and the result you want? It seems you want to sum the balance first rather than find out the min record (a row).
Best Regards!
Dale
atavo
8 years agoHelper I
Correct
It should first sum the balances and then find the minimum balance. Please see sample below:
Sample
- Ashish_Mathur8 years agoSuper User
- atavo8 years agoHelper I
Hi Ashish,
Thanks for your kind assistance,
this is exactly what I was after. For the benefit of other viewers, here is the measure/ solution:
MINX(
SUMMARIZE('calendar',
'calendar'[Date],
"ABCD",
SUM(Table1[Balance])),
[ABCD])
Alfred
Alfred
- Ashish_Mathur8 years agoSuper User