conditional column
6 TopicsColumn value bases on match in another table
Table 1- Name = ‘AADUsers’ UserPrincipalName DisplayName [email protected] User One [email protected] User Two [email protected] User Three [email protected] User Five Table 2 – Name = ‘InScope’ UserPrincipalName DisplayName [email protected] User One [email protected] User Five [email protected] User Ten I’d like to make a column on Table 1 (AADUsers) that is boulean Yes/No field if the ‘UserPrincipalName’ exists in table 2 (InScope) Like this: - Table 1 – ‘AADUsers’ UserPrincipalName DisplayName IsInScope [email protected] User One Yes [email protected] User Two No [email protected] User Three No [email protected] User Five Yes Can anyone assist with the DAX expression for this?Solved663Views0likes2CommentsDAX formula to repeat text series in a column
Hello guys, I wonder if there would be a DAX formula for a conditional column where these 3 items are repeated continuously: Distributor Wholesale Retail Then the loop continues again with these same values from distributor to retail and on and on as long as a value exists in the cells of another column that I specify.809Views0likes4CommentsReg a conditional column
Hi , I need to calculate the sum of efforts spend on each task for particular month , i have a column in my excel sheet as Actual hours and Actual hours1 ,Actual hours2. For example , If the task is started on January month and ended in Febrauary month ,then the Actual efforts are splitted as Actual hour1 for january and Actual hour2 for February. So if i need to calculate the January month effort it should calculate as Actual Hour (Jan)+ Actual Hour 1. That is 104 hours for January For February its should be Actual hour ( Feb )+ Actual Hour2 =44 Could ypu please help to insert a conditional column as above to create the dash board851Views0likes1CommentConditional Index column in DAX
Hello, I need to create a new index column based on values from previous rows and I would appreciate some help here. This is an example of the type of data we have. We don't have access to the data source, so in that case Power Query is not an option and only DAX should be used: date_column code Name numdays ID 01-Jan-22 John 0 02-Jan-22 John 1 ID1 03-Jan-22 John 2 ID1 04-Jan-22 John 3 ID1 05-Jan-22 A John 0 07-Jan-22 John 1 ID2 07-Jan-22 John 2 ID2 07-Jan-22 Mark 1 ID3 08-Jan-22 Mark 2 ID3 09-Jan-22 Mark 0 12-Jan-22 Mark 1 ID4 First 4 columns are already created and I would like to create a new ID column based on the following: - A new ID value should be created for each user starting on numday = 1. - The same ID should be used for the following consecutive days for the same user as long as the code is not a specific value (A) or numdays is not 0. Thanks.Solved1.8KViews0likes4CommentsHow to create condition column based on quick measure
Hello Power BI community, I am struglling with one scenario where I have quick measure which subtracts two columns from two diffrent tables. Based on which i want to have one more column with result if 'quick measure (DIFF)' ='0' then its 'yes' or else if less than or greter than zero it should be false. The relationship between both the tables are based on Sr.No = 'Many to Many' as One to One is not possible to be created. Here is the example two data set: DataSet_FDBA Sr No FDBA 1 100 2 1500 3 1500 4 200 DataSet_ TBA Sr No TDBA Quick Measure (DIFF) Required column 1 90 10 No 2 1500 0 Yes 3 1400 100 No 4 200 0 Yes Can anyone guide me how can i achieve the required column. I am open for suggestions to redesign in order to achieve difference column and conditional yes or No column. Thank you in advance. Regards, Hemant1.6KViews0likes1CommentComparing dates in the maximum Selected date with the column of the table via If and Else statement
I am trying to compare the dates in the maximum Selected date with the column of the table via If and Else statement and it is not working as expected. It seems like somehow it is not recognizing the measure as dates. My Measure to have the maximum date selected: MaxPostDateSelected = CALCULATE(MAX((PostDate[Date])),ALLSELECTED(PostDate[Date])) If and else statement for the table Maint with the Post_date as the column: PostDateCheck = if(Maint[Post_Date]>=[MaxPostDateSelected],"YES","NO") The formula runs but it is not working as expected.3.8KViews0likes11Comments