I need to create a calculated column to show if below statement is true it should write "Created" else "not created".The condition is
Go to Solution.
Hi @Mishelle ,
Sorry for that Power BI doesn’t support to tick or untick a measure in filter pane. The real column has the basic filtering.
if you want to tick or untick the field, you need to change the measure to column.
But the column will not dynamically change according to the slicer like the measure.
If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?
It will be helpful if you can show us the exact expected result based on the tables.
Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
View solution in original post
@Mishelle , all the dates will be there on date table so it will always be created. If that is new column in Account table.
The information you have provided is not making the problem clear to me. Can you please explain with an example. Appreciate your Kudos.
Proud to be a Super User!
please try this
Column = if(Account[createdon]>=min('DateTable'[date])&&Account[createdon]<=max('DateTable'[date]),"Created","Not Created")
If you just want to create a status column that contains “Created” and “Not Created”, @ryan_mayu 's answer is good.
If you want to create a slicer based on Date table to control the status, we suggest to create a measure like this,
var _min = MIN(DateTable[Date])
var _max = MAX(DateTable[Date])
MAX(Account[Createdon])>=_min && MAX(Account[Createdon])<=_max,"Created","Not Created")
BTW, pbix as attached.
Thanks for the explanations and based on your measure i created a similar measure and i need to use this measure in the filter pane as a filter.So user should be able to tick this measure if they need and untick.My measure is
Thank you.Thats what i understood.Thanks for the explanations.I have to put date filter to the filter pane and let the user to choose the date he wants 🙂
Thanks for the replies
Check out the on demand sessions that are available now!
Check out the Winners!
Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.