help appreciated
148 Topicssingle measure select multiple value shows in one graph
how to show three different values in one graph Redution buckts Ex Rate New Materials scrap values 0.7 0.17 0.45 0.7 0.27 0.35 0.7 0.17 0.45 Valueof Month Values Dec 2020 120 -> starting inventory Jan 121 feb 111 March 121 --> end inventory Graph should like below any idea . thanks in advance817Views0likes2CommentsHow to remove Scientific Notation
In my table data looks like Scientific Notation.please find the screen shot. i have used below measure for the graph Total Month = IF(SELECTEDVALUE('Order Table Total'[Sno])="6.Total Month Variation",CALCULATE(SUM('Master Data Base'[Value]),ALLSELECTED('Order Table Total'[Sno])), SUM('Master Data Base'[Value])) how to trun off scientif notation in my report . i am trying to Format i am getting Error. Looking for support.Solved8.2KViews0likes6CommentsHighlight max value of specific rows and column
Hi, DAX driven help: I'd like to highlight the max sum values of a specific row and a specific column to provide orientation in a visually driven table. This will provide an orientation cross of the max value area in the blue area. Each cell in the blue area represents the max sum value for each row or column. Near the periphery of the eye the sum values are less than max. The only way I can think of doing this is adding +100 to each max value in row 0 and column 0. Then with conditional formatting I can highlight the max+100 values with another color resulting in the orientation cross. Currently, it looks like this: Expected from conditional formatting: Close-up of visual table axis: Expected column 0 max values = +100 Expected row 0 max values = +100 Here is the Excel file for anyone to help provide a solution or guidance: https://drive.google.com/file/d/1FvdnXf8kxgQpZlBQD8jgzGXEs47JTzCN/view?usp=sharing ThanksSolved1.6KViews0likes4CommentsHelp: Calculated column only considering half of filter condition
Hello, I'm having trouble with a DAX expression. I have two tables, Vendors and Receipts . They're laid out like so, with a many-to-many relationship linked through the Vendor column: Vendors: Month Vendor 2022-01 AlphaAssociates 2022-02 AlphaAssociates 2022-01 BuenoBiz 2022-02 BuenoBiz 2022-01 CenturyComm 2022-02 CenturyComm Receipts: Month Vendor Cost 2022-01 AlphaAssociates $10 2022-01 AlphaAssociates $5 2022-01 BuenoBiz $5 2022-01 CenturyComm $7 2022-02 AlphaAssociates $15 2022-02 BuenoBiz $9 2022-02 CenturyComm $3 I'm trying to add a calculated column to the Vendors table that sums the data in Receipts according to the Month and Vendor of the row. Right now I'm using the expression Total Cost = CALCULATE( Sum('Receipts'[Cost]), FILTER('Receipts',Receipts[Vendor] = [Vendor] && Receipts[Month] = [Month])) I expect my Vendors table to look like: Month Vendor Cost 2022-01 AlphaAssociates $15 2022-02 AlphaAssociates $15 2022-01 BuenoBiz $5 2022-02 BuenoBiz $9 2022-01 CenturyComm $7 2022-02 CenturyComm $3 But instead I get all matching vendors summed, regardless of month: Month Vendor Cost 2022-01 AlphaAssociates $30 2022-02 AlphaAssociates $30 2022-01 BuenoBiz $14 2022-02 BuenoBiz $14 2022-01 CenturyComm $10 2022-02 CenturyComm $10 What am I missing here? Or is this not feasible without a helper column of "Month&Vendor"?Solved904Views0likes2CommentsConditions True or False based on the two table
I have a two table one table Global Another one Local . Both table have common value Itemnumber , based on Global Table : Itemnumber Pack 101 102 103 NewHL 104 NewPack Local Table : Itemnumber BOMTEXT 101 102 CH 103 104 NewPack Based on the item i am trying to get true or false result Global Pack Local (BOM text) Output Result Blank Blank / Item code is missing in local input file TRUE Blank Value FALSE Value Blank / Item code is missing in local input file FALSE Value Value TRUE Expect Output: Itemnumber Pack BOMTEXT true/false 101 TRUE 102 CH FALSE 103 NewHL FALSE 104 NewPack NewPck TRUE Looking for support. thanks in advance..Solved1.2KViews0likes4CommentsSelected Week from Next 4 week value calculation
I have table name called Invenoty sheet . this table look like . i want filter it only Demand Attribute value . if Demand attribute value if date 15 March 2021 select from that date to Next week value Need to get it for 15 March 2021. I am Used below Measure Mesaure = CALCULATE(sum(Append1[Value]),FILTER(Append1,Append1[Attributes]="Demand"),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),1,MONTH)) ( 4 week Consider as 1 week ) INPUT: DATE ATTRIBUTE value 15 March 2021 Demand 45 15 March 2021 DOI 25 22 March 2021 Demand 55 22 March 2021 DOI 35 29 March 2021 Demand 65 29 March 2021 DOI 85 05 April 2021 Demand 45 05 April 2021 DOI 85 12 April 2021 Demand 95 12 April 2021 DOI 65 19 April 2021 Demand 45 19 April 2021 DOI 35 26 April 2021 Demand 45 26 April 2021 DOI 65 Expected Output : DATE ATTRIBUTE value Selected week from Next 4 week 15 March 2021 Demand 15 120 => 15+25+35+45 22 March 2021 Demand 25 170 => 25+35+45+55 29 March 2021 Demand 35 190 => 35+45+55+65 05 April 2021 Demand 45 210 =>45+55+65+45 ------ ---- ---------- 31 December 2022 Demand 88 Looking for support .. thanks in advance .,Solved670Views0likes2CommentsCalculate datediff between groups and ID
Hi, I need to calculate the DateDiff between different periods grouped by ID and per group. Data looks like this: The measure must caluclate the datediff on planned end date per Project ID and must be grouped on the Stage. So e.g. the measure must show the diff between Project ID AAA and Stage B1 10/07/2021 and Project ID AAA and Stage B1 11/07/2022 which should equal to 366 days. I have a Index Column in the Table historical dates table wich can be used to order the rows inside each project ID.1.1KViews0likes4Commentscolumn and another column last letter comparison
I have two column In the table first column name ID and next column name pd-id . I am trying to compare First column value and Next column last num if match both value match its return True and both value not match its return False Example : ID Pd-id 1 ID01-PS-001 1 ID01-PS-001 2 ID01-PS-001 1 ID01-PS-002 3 ID01-PS-003 2 ID01-PS-002 3 ID01-PS-002 4 ID01-PS-004 Expected output: ID Pd-id Result 1 ID01-PS-001 True 1 ID01-PS-001 True 2 ID01-PS-001 False 1 ID01-PS-002 False 3 ID01-PS-003 True 2 ID01-PS-002 True 3 ID01-PS-002 False 4 ID01-PS-004 True I am looking for support . thanks in advance.Solved856Views0likes3CommentsData Reconciliation between two tables in Power BI
Hi , How to compare to compare two tables data in one table,I have tried with power Query using full outer join by selecting two /three columns as a reference but some of the values are appearing as expected. I have provided below sample data of two tables and expected output,please have a look.Let me know any one have worked such kind of scenario or ideas will be appreciated. We need to achieve two condition by comparing two tables. 1.we need to compare each columns of the two tables data,if it is matched we need to show in separate column as “Yes/No” 2.We need to compare one column in Table1.Q2 with three columns in table2(tbl2.Q2.t1,tbl2.Q2.t2,tbl2.Q2.t3).If Table1.Q2 column values is existed in any of the three column of table2.Q2( tbl2.Q2.t1,tbl2.Q2.t2,tbl2.Q2.t3) then we need to display it as matched or else not matched . Table1: sell_ref dept_ref date Q2 Q1 AZ90 A219 10/3/2020 100 68.558 AZ90 A219 10/3/2020 99.95 68.26 AZ90 A272 10/9/2020 24.43 17.41 BZ08 10/9/2012 Table2: sell_ref dept_ref Q1 date Q2.t1 Q2.t2 Q2.t3 AZ90 A276 10606.5 10/18/2020 15.47 1500 44 AZ90 A219 68.558 10/3/2020 10.25 28.46 100 AZ90 A219 68.26 10/3/2020 99.95 10.26 28.31 AZ90 A272 17.41 10/9/2020 27.21 24.43 72.43 BZ08 E183 82.114 10/9/2012 13.7 11.97 34.78 Output Expected: tbl1.sell_ref tbl2.sell_ref Matched_sell_ref tbl1.dept_ref tbl2.dept_ref Matched_dept_ref tbl1.date tbl2.date Matched dates tabl1.Q1 tabl2.Q1 Matched Q1 tbl1.Q2 tbl2.Q2.t1 tbl2.Q2.t2 tbl2.Q2.t3 Matched Q2 AZ90 AZ90 Yes A219 A219 Yes 10/3/2020 10/3/2020 Yes 68.558 68.558 Yes 100 10.25 28.46 100 Yes AZ90 AZ90 Yes A219 A219 Yes 10/3/2020 10/3/2020 Yes 68.26 68.26 Yes 99.95 99.95 10.26 28.31 Yes AZ90 AZ90 Yes A272 A272 Yes 10/9/2020 10/9/2020 Yes 17.41 17.41 Yes 24.43 27.21 24.43 72.43 Yes AZ90 NO A276 No 10/18/2020 No 10606.5 No 15.47 1500 44 No BZ08 BZ08 Yes E183 No 10/9/2012 10/9/2012 Yes 82.114 No 13.7 11.97 34.78 No Thanks, SBCSolved4.9KViews0likes3CommentsMeasure calculation using different columns based on a value
This is going to be confusing, I apologize in advance. I will try to be as clear as possible. I am trying to create a measure I can use in a visual table that can be filtered by the user. I want that visual to look something like this where $Value is the measure I am trying to create: OrderNbr ShipComplete $Value 12345 Yes $12,000 67891 No $2,000 My question is, is it possible to have the measure sum different column values based on if the order is ShipComplete=Yes or No? In my raw data, each order will have several lines all with differnent $LineValues. In my visual, I want the measure to Sumx(ALL( $LineValues)) IF the order is ShipComplete=Yes regardless of any filters the user applies. If the order is ShipComplete=No I want the measure to only sum the $LineValues of lines that the user filters for. The filters will usually only apply to certain line items on an order so if a filter is applied, the order could get split up in my visual. For example, if the filters result in only 2 of the 5 line items on an order and the order is ShipComplete=Yes then I want the visual to show the sum of all 5 line item values but if the order is ShipComplete=No then I want the visual to show the sum of only the 2 line item values. UPDATE: This is even more complex than I originally thought. My data has 3 levels to it: Order, TopLevel, Item. Each Item has a price associated with it and also have the values which the user will be filtering based on in my data. I want the resulting visual to show a sum on the Order level (as seen in above table). If the order is ship complete I want to see the sum of all Item values in that order regardless of filters. If the order is not ship complete but the item has a TopLevel, I want to see the sum of all Item values in that TopLevel. Otherwise I only want to see the sum of Item values that the user has filtered for. Below is a better example of my raw data set where Color is what the user will filter the visual on. Order# TopLevel# Item# Ship Complete Item$ Color 1 100 101 No 5 red 1 100 102 No 7 green 1 100 103 No 5 green 2 104 Yes 10 red 2 105 Yes 4 green 3 200 106 No 5 red 3 200 107 No 3 green 3 201 108 No 5 red 3 201 109 No 3 green 3 110 No 10 green From this data I want a visual that results in exactly the following (assuming the user filters for "red") Order# Ship Complete Total Value 1 No 17 2 Yes 14 3 No 16 Is this even possible??3.6KViews0likes4Comments