Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi,
I'm having trouble creating a financial template on Power BI. I have seen a couple of videos on different methods but when it comes time to execute them I get errors. The method that I am using requires you to build a table that has the outline of your financial template like this:
And I have another table that is my general ledger with my amounts for each specific Item ID. However, whenver I try to use this formula:
Hi!
Thank you so much for the reply! A lot of the information that you gave me helped me out figure out a lot of the fundamental issues with my dataset/template.
Things that I fixed:
BIG PICTURE: Line Item – connection – Dax temp.LineItem (Item ID in the general ledger)
STILL NEED HELP ON THE DAX AND THE FOLLOWING:
I tried using your formula but it gives me the following error
Not sure if the relationship is still not set up right. I also double checked for errors with capitalization and spelling. Pretty sure it has to do with the relationship but I'm not sure.
Would appreciate some more advice,
Thanks 😊
It seems like you're facing an issue with your DAX formula in Power BI. The formula you provided should work correctly if your relationships between tables are set up properly. Here are a few things to check and consider:
Relationships:
Context Transition:
Data Model:
Here's an adjusted version of your formula that explicitly references the related column:
Sales = CALCULATE(
SUM(Jan[Value]),
RELATED('Financial Temp'[Item ID]) = "Astar Job Income"
)
This assumes that there's a direct relationship between the 'Item ID' columns in both tables.
If the issue persists, please provide more details about your data model, including the relationships between tables and the structure of your tables. Additionally, check if there are any filters or slicers affecting the context in which your formula is being evaluated.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.