firstnonblank
3 TopicsFind first occurrence of column by date/time belonging to group of rows, populate new column
Hi All, As per the title, what I'm trying to acheive in a calculated column is find the first entry of a column value ('flowName') for a group of rows (grouped by 'uniqueId'), and populate this found value into a new column ('firstFlow') So for example, heres a sample set of existing data with a uniqueId, dateTime and flowName. uniqueId dateTime flowName firstFlow 1111A 2022-03-01 10:01 Flow Alpha Flow Alpha 1111A 2022-03-01 10:02 Flow Beta Flow Alpha 1111A 2022-03-01 10:05 Flow Gamma Flow Alpha 2222B 2022-03-01 12:34 Flow Delta Flow Delta 2222B 2022-03-01 12:35 Flow Omicron Flow Delta 2222B 2022-03-01 12:56 Flow Alpha Flow Delta 2222B 2022-03-01 13:10 Flow Omega Flow Delta 3333C 2022-03-01 14:22 Flow Gamma Flow Gamma 3333C 2022-03-01 14:47 Flow Alpha Flow Gamma What I'm trying to acheive is the column result in Blue. Thanks in advance, Jeff.Solved7.2KViews0likes3CommentsProblem with the grand total when using FIRSTNONBLANK function
Hi, I'm having a fact table, where from several reasons there are stored repeated numeric values in one column. I need each value only once, so instead of using SUM('Fact Sales Order'[Quantity]), I'm using a workaround FIRSTNONBLANK('Fact Sales Order'[Quantity], 1). It works perfect for me, but the problem with this solution is that when I'm trying to create a pivot table in excel, the grand total appears to be zero, even though the values inside the table are correct and there are no zeros. Is there a way to fix this, or maybe there is an alternative function that I can use for such purposes? I would appreciate any advice Thanks in advance!Solved1.1KViews0likes4CommentsNeed help with DAX Formulation for sum using equality operator Date columns
Hi, I have an input method format as shown below in the image(which is obtained through powerapps) Where the input date has a 'one to one' relationship with the dim date table Illustration Purpose: This is how values are stored in the dashboard Dim input table DAX Formula By using the above formulation I want to achieve the following output: But I get this as my output Am I missing out something in the formulation?Solved1.3KViews0likes4Comments