March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Power BI Experts,
I am looking to calculate "Current Position" for today and yesterday.
Formula for current position = Opening Balance + Debits + Debits (shown as a negative value) + Outstanding Checks (Shown as a negative Value)
So far i have the measures below and i get an error/blank value.
Solved! Go to Solution.
Hi @Nanakwame ,
According to your description, I create a sample, is this your expected outcome?
In this formula, date in the filter can also be the fact table or calendar table, if you use the calendar table , the two tables should make relationship first.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Nanakwame ,
According to your description, I create a sample, is this your expected outcome?
In this formula, date in the filter can also be the fact table or calendar table, if you use the calendar table , the two tables should make relationship first.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I get an error for this function. Please see image below. "Sum of Current Position" is measure which is a sum of columns in the table.
Maybe the sum of current positions needs to be a column instead?
I created it as a column and it worked however i dont thing the values for "sum of current position" as a column is right
Hi @Nanakwame ,
If "Sum of Current Position" is a measure, you should remove MAX function, like this:
If you just use [sum of Current Position] in a visual, does it work?
What is the error you're getting?
The column named [Today] seems off. Have you made a calculated column just for displaying which rows are today? Scratch that, should work with the 'Date'[Date] = today() method, if your relationships from the calendar table are correct.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
119 | |
88 | |
73 | |
67 | |
49 |
User | Count |
---|---|
199 | |
141 | |
97 | |
79 | |
68 |