Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
80 | |
59 | |
35 | |
35 |
User | Count |
---|---|
100 | |
60 | |
56 | |
46 | |
41 |