rows
17 TopicsDisplaying a Row as Fixed, when it's value needs to be manipilated
*I have trouble converting the data type of Column Amount in Source ABC to Decial/Numbers for this tutorial(help needed), see data source:https://drive.google.com/file/d/1VZJv8sPPYPcLiRKyO1fkEqbcsX-dz10P/view?usp=sharing . PBIX:https://drive.google.com/file/d/1wfjbLI7nBLQU5-Qs5rGHOL2XP4uc0UR9/view?usp=sharing I am trying to include rows in a Dax calculation from a mapping table(Pivot) to a fact table(ABC). The DAX is going to look at specific rows and bring those forward. The big issue is some rows are not present in the Fact table. I also need those rows to be displayed but their values to be manipulated. An example is row "Interco capital returned", which is not in the Fact Table(ABC), it should display a fixed value of "678" TotalAmountForSelectedItems5 = CALCULATE( SUM('ABC'[Amount]), // Corrected Column Reference 'ABC'[Roll_Up_Function] IN { "Cash flow from ops - management", "Cash flow from trading", "Depreciation and amortisation", "IPEP expense", "Disposals & impairment of fixed assets", "Profit on disposal of pooling equipment", "Scrapped pooling equipment", "Impairment or valuation adjustment of pooling equipment", "Disposals or valuation adjustments of other fixed assets", "Other cash flow from trading adjustments", "Share-based payments expense", "Working capital mvts incl. provisions", "Working capital mvts excl. provisions", "Debtor movements", "Creditor movements", "Inventory movements", "Prepayment movements", "Provision movements", "Change in capex creditors", "Change in loss compensation balances", "Interco interest and guarantee fees", "Interco cash flows", "Interco royalties", "Statutory reallocations", "Internal restructuring", "Interco dividends Total", "Change in interco balances", "Change in interco recharge clearing", "FX on interco debt", "Interco capital returned" } ) amitchandak jpessoa8 lbendlin2.1KViews0likes2CommentsSum a row using visible columns
I have created a table that allows a user to choose what data columns they wish to see (via field parameters). There are up to 4 possible values they can select from. I need to get a dynamic total across each row based on those selected columns. So, for example, if they choose all 4 severity levels, the first row would total 10, second row would be 3, etc. But if they chose only Sev2 and Sev4 (meaning only those 2 data columns would be visible), they would get 4 in the first, 2 in the second etc. There are other values that can be calculated as well (such as year over year percent of change and so on) but those would obviously be calculations similiar to this basic one. What formula would acheive that result?Solved851Views0likes4CommentsAdd row with result of calculation
Hello to all ! I am new to the world of Power Bi. There are things that I still can't figure out if it is possible or how it could be possible. I currently have the following problem: I have a table that displays information, but I need to be able to have a row or a table that shows the result between the operation revenue - Costs (for example, because I have a line that takes out the tax, among other financial calculations that are performed today in excel) , as seen in this image : Is it possible to have such a revenue - cost line? Or is it possible to have a separate table with this information? For example, something like this: thanks in advanceSolved784Views0likes1CommentCalculated column returning the majority across a number of rows
Hello. I have my Purchase Line table detailing deliveries. Each delivery has it's own unique number but there can be multiple deliveries for each number (as little as 1, as many as 8). In the same table there is a Delivery Day column, so for each line there can be any of the following... Blank (not delivered) 1 (delivered on 1st day) 2 (delivered on 2nd day) 3 (delivered on 3rd day) 4 (delivered early) 5 (delivered late) I need to create a calculated column which identifies blank, 1 & 4 as 1 (or Day 1), 2 as 2 (or Day 2), 3 as 3 (or Day 3) and 5 as 5 (or Late) with the following condition - the majority eg. number of lines with a value greater than 50% gets the credit. So if there is one unique ID and Delivery Day column has five lines (deliveries), and 3 of them are Day 1 and 2 of them are Day 2, then Day 1 gets the "credit'. See example... Load No Delivery Day Desired Output L555111 1 1 L555111 1 1 L555111 1 1 L555111 1 1 L555111 1 1 L555222 2 2 L555222 2 2 L555222 3 2 L555222 3 2 L555333 1 1 L555333 0 1 L555333 0 1 L555333 0 1 L555444 1 1 L555444 1 1 L555444 1 1 L555444 2 1 L555444 2 1 In the event of a tie eg. L555222 which has two Day 2 and two Day 3 deliveries, then the earliest day (or lowest value) gets the 'credit' I have given this a go in Groups but that can't take into account differences in Delivery Days across the lines, also tried rank/topN and MAX in Measures but feel that the solution is probably either in a calculated column or a Custom Column in Query Editor, but this one is just beyond my capability in that regard. Any guidance appreciated on online resources that can help point me in the right direction to research this.Solved1.7KViews0likes6Commentsfilter one column in one table to another column in another table
Henlo, I am needing to add a measure that filters out data from my matrix. I am needing only rows returns that match this criteria ( {IM_ItemWarehouse.WarehouseCode} = {CI_Item.DefaultWarehouseCode} ) I know how I can do this in power query but I have other visuals that do not require the same filtering. Can someone help me with how I would create a measure to accomplish this? Oodles of thanks in advance! 🙂Solved1.7KViews0likes1CommentMultiple row and Column Add up (Remove Duplicates)
I am currently working on a project using a grading system and want to display total% of an individuals skillset. The grading system works using the below image (I've only used my own test ID but in the data set it is showing all 930). Scenario 1 = 10%, Scenario 2 = 20%, Scenario 3 = 30% and Task 1 + Task 2 both give 20% each resulting in the individual being 100% trained. The main issue with this is that the user can have multiple entries for each header, resulting in the total% being over 100% in some cases. Is there a measure that can be implemented to just look at each of these columns and just take one entry from each and ignore duplicates while adding up to a max of 100%? Happy to give more details.Solved1.3KViews0likes6CommentsShow total on all rows with DAX
Hi there, For our case we need to have a DAX measure that shows the total of a value on all rows. This needs to in dynamically so we figured that DAX should be needed. Here is an example: Value Total a 1 11 --> SUM(A:C) b 4 11 c 6 11 TOTAL 11 33 Does anyone know the DAX measure for this? Thanks!Solved7.1KViews0likes1CommentHow to sum each row?
Hello, I have a question. I want to add a new column to the table with summing up each row. How can I do it so it looks like the field highlighted in yellow? For some reason, I have difficulties with it... it's frustrating. I appreciate every help! With kind regards, KlaudiaSolved903Views0likes2CommentsReport builder - how to create rows based on other rows
Hello everybody. I'm not sure if the name of this post is descriptive enough, but I'll try to describe my problem better here. I've been working with Report builder for 2 days, so please be kind if my question is stupid. I have a table where I have multiple columns with data(numbers) and one column based on which I'm summing those numbers. Something like this: Naming column Data_column_x Data_column_y Data_column_z Data_column_q US Germany Now, what I need is: for some countries I need rows which would be basically the same country name, but with some kind of % values. So it would be named something like "US[%]" and "Germany[%]" For those rows I need to calculate the values. Calculation might be something like this: (Data_column_x for US)/(Data_column_x for Germany) or (Data_column_x for India)/(Data_column_x for Germany). So there would be always Germany data involved in the calculations, cause it's percentage Germany data. There are 2 problems here: How to create those rows, which would be based on already existing row names, so basically duplicating certain row names with addition of some sort of "flag" (e.g. [%]). And another one is how to get data for one specific country so I can use it in my calculations for those rows. My amateur idea was to create new dataset with data only for that one country which I need in those calculations, but I was not able to combine 2 datasets in one table. Thank you very much in advance for all the tips!Solved2.9KViews0likes1Comment