Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have the following table,
| pat_id | funded amount | status |
| 1 | 100 | Funded |
| 2 | 100 | Funded |
| 3 | 200 | Funded |
| 400 | Funded | |
| 400 | Approved | |
| 4 | 100 | Approved |
| 5 | 100 | Expired |
I want to calculate a measure LoanFunded which is the sum of funded amount for the records having the pat id and status as funded.
I have the following query,
Solved! Go to Solution.
Hi,
Drag this measure to a card visual
Measure = calculate(sum(Data[funded amount]),data[pat_id]<>blank,data[status]="funded")
Hope this helps.
Hi @Anonymous ,
Here are the steps you can follow:
1. Create measure.
Measure =
var _table=
FILTER('Table','Table'[pat_id]<>BLANK()&&'Table'[status]="Funded")
return
SUMX(_table,[funded amount])
2. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Here are the steps you can follow:
1. Create measure.
Measure =
var _table=
FILTER('Table','Table'[pat_id]<>BLANK()&&'Table'[status]="Funded")
return
SUMX(_table,[funded amount])
2. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
Drag this measure to a card visual
Measure = calculate(sum(Data[funded amount]),data[pat_id]<>blank,data[status]="funded")
Hope this helps.
Hi,
Please check the below picture and the attached pbix file, if it provides the expected result.
Loan funded measure: =
SUMX (
FILTER ( 'Table', 'Table'[pat_id] <> BLANK () && 'Table'[status] = "Funded" ),
'Table'[funded amount]
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!