The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi
How can I calculate the total over time ontop of the existing measures I have.
1. This calculates the MAX Budgeted Fee
BudFee_Max = MAX(FACT_MainTable[BudFee])
2. This calculates the SUM of the MAX Budgeted Fee per client
SUMBudFeeMax = SUMX(DISTINCT(DIM_Client[ClientNameFull]), [BudfeeMAX OG])
The reason I did this was due to my data having duplicated Budgeted Fee’s per month (The budgeted Fee can increase over time)
Figure 01: The Budgeted fee is actually just 680000 (so when it sums, I get a very large amount. I have resolved this with the above measures)
The problem I am now facing is when I want to a see the total amount over two years, I only get the MAX out of the two years, because there are new transactions for existing clients.
How can I keep my MAX calculation in tact with provided totals over a time? Please help 😞
Solved! Go to Solution.
@Sabo256w , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Ideally, formula should work. Or you can try like
SUMBudFeeMax = SUMX(Values(DIM_Client[ClientNameFull]), [BudfeeMAX OG])
@Sabo256w , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Ideally, formula should work. Or you can try like
SUMBudFeeMax = SUMX(Values(DIM_Client[ClientNameFull]), [BudfeeMAX OG])
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
7 |