Forum Discussion
Group installments by date
- 5 years ago
Hi, Anonymous
Thank you for your feedback.
Q1. There is no difference. I created the year column in Power Query Editor, and yours is created by Calculated Column, so that is why the symbol looks different.
Q2. In a general situation, I prefer to have a thin-fact-table. The first question's table was not that wide so I created a measure without connecting the tables. However, the second question's table was wider than the first one, so I wanted to transform it into a different structure to have a thin table. In this case, I could connect to the calendar table, and the measure is so simple to write.
Please check the link down below.
The result is the same as the first one, but the measure is so simple, if you transform the table structure. Transforming the table structure is easily done in Power Query Editor.
Payment Total V2 =SUM(DataV2[payment])Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Hi, Anonymous
Sorry that it is quite difficult for me to understand your question.
If it is OK with you, could you please share your sample pbix file's link?
After I transform the fact table, there is only one simple measure applied which is below.
Sure thing!
What might be new to this idea is that I want it to be easily updatable/refreshable
Suppose I want to add different items to lines 11 and 12 in the excel worksheet and then save. I want to be able to click on the refresh power bi button, getting the update view report with these news itens included.
In short, the filters I'll be aplying will be: source and task (please note that some of them can now be repeated in the lines) and status ---> resulting the sum of payments done, like you've already solved in the first and second example I asked previously!
I've put it here: https://www.dropbox.com/s/08t2bwq7spul9fo/justchill.xlsx?dl=0
Thanks!!
- Jihwan_Kim5 years agoSuper User
Hi,
I think your current file and previous file are different. The previous one has 7 columns, and the current one has 4 more columns than the previous one.
So this is the reason why it cannot be updated by clicking the refresh button. If you have the same column names, same order, same number of columns (=same structure), then adding rows is very simple -> as you expected, you can simply click the refresh button.
- Anonymous5 years agoNot applicable
Exactly, it turned out to be a little bit more complex than I expected...
Even by adding only new rows I keep getting these messages:OLE DB or ODBC error: HRESULT exception: 0x80040E4E.
The 'Category' column in the 'Example (3)' table contains a duplicate 'a' value and this is not allowed for columns on one side of the many-to-many relationship or for columns being used as the primary key of a table.
It seems to me that the category cannot be repeated, but the new rows will certainly contain the same tasks eventually...
Considering the current excel file I uploaded, do I need to re-design the relationships in order to make it work? How would that look like considering the internal or external new filter options?
Thanks for your patience!