The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Good Day, I have the following to measures, the one is used within the other, how can these measures be made more efficiently and maybe put ito 1 measure,
The first measure determines the date of my opening balance
I tried the above mentioned measure, and it basically gave my closing balance. It did the same as this measure I used to calculate my closing balance
Hi @kristenk14 ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best regards,
Community Support Team_ Binbin Yu
@kristenk14 , using a date table try a measure like
Sumx( values(Date[Month] ) ,
calculate(firstnonblankvalue(Date[Date], Sum(investor_flows[value]) ), Filter(all(Date), Date[Month] = max(Date[Month])), Filter(investor_flows , investor_flows[flow_type] = "Balance")) )
refer if needed
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |