User Profile
New_be
Helper V
Joined 6 years ago
User Widgets
Contributions
To get the date of production on when it achieves sqft planned
Hi, I have an issue to create things that I wanted in the query editor (M query). I wanted to get the date of production when that orderID per process achieve sqft planned. I tried few things, but it didn’t work. I attached an excel file of the detail (small and simple details) that I wanted for your reference. Thank you for the help in advance.Solved856Views0likes4CommentsWrong total
Hi, I wanted to have totals of 7900 instead of 9061 for measure 'Passes output test'. But instead I got 9061. Can you please help? Below is my measure: Passes output test = VAR NormalPassValue = CALCULATE( SUM('SURFACE TREATMENT MOVEMENTS'[VALUE]), FILTER( 'SURFACE TREATMENT MOVEMENTS', 'SURFACE TREATMENT MOVEMENTS'[Num. Re-ST] = "Normal pass" && 'SURFACE TREATMENT MOVEMENTS'[Actual ST Only] = "TRUE" ) ) VAR Rerun1xValue = CALCULATE( SUM('SURFACE TREATMENT MOVEMENTS'[VALUE]), 'SURFACE TREATMENT MOVEMENTS'[Num. Re-ST] = "Re-ST 1x" && 'SURFACE TREATMENT MOVEMENTS'[Actual ST Only] = "TRUE", ALLEXCEPT('SURFACE TREATMENT MOVEMENTS', 'SURFACE TREATMENT MOVEMENTS'[Num. Re-ST], 'SURFACE TREATMENT MOVEMENTS'[PRD_ORDERID], 'SURFACE TREATMENT MOVEMENTS'[UNIT], 'SURFACE TREATMENT MOVEMENTS'[Actual ST Only]) ) VAR AllPassesValue = CALCULATE( SUM('SURFACE TREATMENT MOVEMENTS'[VALUE]), FILTER( 'SURFACE TREATMENT MOVEMENTS', 'SURFACE TREATMENT MOVEMENTS'[Actual ST Only] = "TRUE" ) ) VAR __Switch = SWITCH( TRUE(), SELECTEDVALUE('SURFACE TREATMENT MOVEMENTS'[Num. Re-ST]) = "Normal pass", NormalPassValue - Rerun1xValue, [Passes output] ) VAR Result = IF(AllPassesValue = BLANK(), BLANK(), __Switch) RETURN Result Here is my table: YearWeek PROCESS MACHINE PRD_ORDERID Actual ST Only Num. Re-ST GRADING UNIT VALUE Total Normal Pass Rerun 1x Passes output Passes output test Y24W34 ST1 ST1 7725354 FALSE Normal pass C SQFT 5372.98 1161 Y24W34 ST1 ST1 7725354 TRUE Normal pass C Hitam Sap SQFT 7225.92 7226 1161 7225.92 6065.1 Y24W34 ST1 ST1 7725354 FALSE Normal pass C Sap SQFT 1178.05 1161 Y24W34 ST1 ST1 7725354 TRUE Re-ST 1x C Hitam Sap SQFT 1160.82 1161 1160.82 1160.82 Y24W34 ST1 ST1 7725354 TRUE Re-ST 2x C Hitam Sap SQFT 674.91 1161 674.91 674.91 9061.65 9061.65 7900.83Solved1.4KViews0likes5CommentsFailed to get correct total
Hi expert, As per subject, I failed to get a correct total headcounts as in the image. To create matrix table visual, I created a measures to calculate the headcount: Headcount = CALCULATE( MIN('Leavetable'[Headcount]), ALLEXCEPT(Calendar, Calendar[YearMonth]), ALLEXCEPT(EmpProfile, EmpProfile[Department]) ) Per department level (department coming from EmpProfile table), I got a correct value, but on the YearMonth level (coming from calendar table) to show the total from the sum of values in department level, I failed. Please show me a correct way to get the total per YearMonth in my case explained in the image attached.Solved465Views0likes2CommentsMy filter does not working
Hi expert, I have a simple question (shoulod be simple, but I cannot get the answer). I have 3 tables. 2 dimensions (Calendar & area) and 1 fact table. From matrix table, I wanted to created a visual like below with reporter at row, and YearWeek as column and YES if there is a title registered in DAB table. But with my current measure, when I filter on the plant, for example MY, it will show all reporters. It should only return reporter under plant MY. But now it shows all. Below is my measure; YesOrNo Gemba TEST = VAR RegistrationCount = CALCULATE( COUNT('DAB Action List'[Title]) ) RETURN IF(RegistrationCount > 0, "YES", "NO") Visual that I desired. If I click on MY, it will show only MY registration. If JAP, it will show JAP only.Solved368Views0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.