power bi dax rules
71 TopicsCreate new table by transposing/Crosstab a data table
Hi, I need to crosstab/transpose data from one table to create a new table as shown in example below. Original Table: User Week Status A1 Week1 Active A1 Week2 Inactive A1 Week3 Deleted A2 Week1 Active A2 Week2 Active A2 Week3 Deleted A3 Week1 Active A3 Week2 Active A3 Week3 Active A4 Week3 Idle A5 Week2 Active A5 Week3 Active New Table/Changed format/Desired output: User Week1 Week2 Week3 A1 Active Inactive Deleted A2 Active Active Deleted A3 Active Active Active A4 Idle A5 Active Active Can anyone help me with the same? Thanks in advance.Solved2.9KViews1like5Commentscreate dax measure to remove context filter
hi everyone im trying to create a measure that remove the conext filter in a table visual with if statement condition i was trying to use 'all' function to remove the filter from the column but still not working. current measure : calculate(sum('categories trans'[achievement]), all('categories trans'[Base_type]) in the above example , i want to ignore the filter by (base_type) column in one category (zeed) and keep it for the other categories. for example: if category= 'zeed' i want the achievement measure to return 441 and for other categories i want the achievment measure to return same values above.1.1KViews0likes2CommentsCompare two rows and return the one with the earliest date Power Bi
Hi, I have a table called "Jira tickets", in which I have multiple rows for the same ticket, as you can see below in the sample data: If we take for example Ticket 1, how can I compare the rows to take only the first Sprint when this ticket was in status "Done", based on the Status date? In this case, to have a calculated column that will say "include" for Sprint 7 (08-Sep-22) and "exclude" for Sprint 8 (04-Oct-22). I will have to do the same thing for the status "To Do". Thank you very much! 😊Solved1.3KViews0likes5CommentsTrying to create another column using "OR logic" from two columns and to use for filtering
Hi All, I want to create another column using OR Logic between column 1, column 2 Table = Summary column 1 = team, column 2= shared team, Purpose of that new table will be to use it for filtering, I want to see all the records in single column if col1 team or col2 shared teams.. If need more information please send an email at [email protected] thanks thanksSolved725Views0likes3Commentscreating measure to calculate the average of sum of value
I have a table and I want to create measure to calculate the monthly average of total cost per each day so 1- I want to sum the total value per each date 2- I want to get average of the sum per each month (the number of days per each month are not equal ,I mean there are 5 dates in august but in sepryember only 4 ....etc) I hope my question is clear enough Best RegardsSolved1.8KViews0likes1CommentLOOKUPVALUE not reporting all availabe data
Dear all, i have 2 tables whre i need to combine the data set. I tried to achive this by RELATED or LOOKUPVALUE but both approaches report only a part of the available data. picture I: report table which contains the LOOKUPVALUE fxt the second table is containing the necessary data. As you may see the secontable is containig the required information but it is not reporting it back. Both tables are sorted by p/n picture2: table for lookupvalues Does somebody have an i dear what i need to change in order to reiceive the complete data set. Thank you and best regards!Solved1.1KViews0likes4CommentsIssue with TOPN and RANKX with no ties
I have a table visual and it has multiple columns present in it. I am trying to get the TOPN based on a particular column, even after there are no ties, it shows more than the required number. I have also used a RANKX function DAX but it has been returning 1 always. Measure RANKING = RANKX(ALL(Table Name), CALCULATE(SUM(Column Name(measure))). But it keeps throwing 1 itself. Lets say I have numbers below A B C D E H ABC Solid 12345 0% 123 1 DEF Liquid 12345 2% 456 1 GHI Gas 23456 4% 789 1 JKL Solid 45678 5% 101 1 From the above example. Let me consider I want to calculate RANK for column E from the above table. But with the measure used I get Rank as 1 for all the rows i.e. Column H. Can someone provide me with a better solution? It happens for TOPN too even if there are no ties.Solved3.1KViews0likes7CommentsDax query to create a measure that returns values from another columns based on slicer selection
I want to create a measure which will return sum of unique visits and unique visitors based on pagename selected in slicer . Note - pagename, visits and visitors column are all part of same table .Solved509Views0likes1CommentDAX based on same date and same field
Hi Im a bit new to dax and I am struggling in creating a formula. So I need to write a mathmateical calculation which =+(E4+Mx6)/2*33 for the East Silo on the same date and time only. So the first one would be 07/11/2022 4:30 am calculation (4+4)/2*33423Views0likes1CommentCompare, evaluate, and visualize “mismatched” data across a table
Hello! I have been trying for weeks to figure out the best way to determine then visualize the occurrence of what I call mismatched data within a table. consider my sample data below in the following layout: Date Member Vendor SKU Category 9/22/22 A Homemade 11-110 Price Match 9/20/22 A Homemade 11-110 No Price Found 9/12/22 B Wooden 23-1111 Price Match 8/20/22 C Homemade 000-245 Price Match 8/15/22 B Wooden 23-1111 No Price Found 7/10/22 B Wooden 23-1111 No Price Found 7/02/22 A Homemade 11-110 Price Match 7/01/22 C Homemade 000-245 Price Match I am trying to create a measure or configure the table above so that for each Member, Vendor, and SKU, the resulting category is compared to previous categories of the same Member, Vendor, and SKU. For example, Member A purchased item 11-110 from the same vendor on 3 different occasions. 2 of those occasions resulted in a category of Price Match but 1 of those purchases resulted in a category of No Price Found. I would like the purchase that resulted in the "mismatch" to be displayed in the table or visual. Doing this will help me track, prioritize work, and highlight category mismatches that occur. I appreciate any help!Solved2KViews0likes6Comments