Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
hello community
i have two columns the first column have the same value several times , the next column can have two values one of them is a blank i want to fill this blank with other values from other rows if exist a non blank value if no to leave it a blank as it is ,
anyway to do that ?
thanks
Solved! Go to Solution.
@Anonymous
In this case we call the Date column as a filter safe column. Filter safe columns shall be added to the ALLEXCEPT argument inside CALCULATE:
Drop Measure =
CALCULATE (
MAX ( TableName[drop] ),
ALLEXCEPT ( TableName, TableName[phone], TableName[Creation Date] )
)
Hi @Anonymous
you can use
Drop Measure =
CALCULATE ( MAX ( TableName[drop] ), ALLEXCEPT ( TableName, TableName[phone] ) )
thanks tamer it worked but i still see some annomalies for example after i ordered by phone number,
the phone number that ends with 3392 is filled even thought there is no other match for it so it should remain blank
@Anonymous
That is strange. It should not happen.
Both columns are from the same table? Seems to a filter context issue. Also you may check if same number exist but preceded by a space.
well actually i put some filters on the previous Vizz one of them was the date for example i took the period of August and there was only one input for that phone number , but in june there was other enteries , so can i modify the formula for example to take these filters into considerations ?
@Anonymous
In this case we call the Date column as a filter safe column. Filter safe columns shall be added to the ALLEXCEPT argument inside CALCULATE:
Drop Measure =
CALCULATE (
MAX ( TableName[drop] ),
ALLEXCEPT ( TableName, TableName[phone], TableName[Creation Date] )
)
well i added two columns as filter the results now are much better , but the date filter is working by day , instead i need the filter to be by the specific month and the other campaign filter to be to specific campaigns can i modify these filters , thank you sooooo much for your patients we are almost there
@Anonymous
Usually these columns ad there in the Date table. Since you don't have a date table you can add a new column to your fact table.
Year Month = YEAR ( [Creation Date] ) * 100 + MONTH ( [Creation Date] )
Then you can add this column to ALLEXCEPT instead of the date.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |