Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
hi guys
i am trying to create a new column, named "startedyn" that will display "STARTED" on all the rows within the same "docentry" number, if one of the rows has "1" value in the "start_no" column. in my screenshot, not all the "start_no" values have 1. one of them has 0, but still the new column should display started on all the rows within the same docentry number. The dataset is direct query so i can't use something like startedyn = if (CALCULATE( MAX(Table[start_no]) ,ALLEXCEPT(Table,Table[docentry] )) > 0, "STARTED")
thank you! and sorry for the noob question. new to power bi!
Hi, @bidav
You can try the following methods.
Column:
startedyn = IF(CALCULATE(MIN('Table'[start_no]),ALLEXCEPT('Table','Table'[docentry]))>0,"started")
The formula for Measure is the same as the formula for calculating columns.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
any idea i can use guys?
@bidav , I doubt you can create a column like that in direct query, you should create a measure
hi, thank you for your reply.
how can i create a measure that will modify the column mentioned with "started" isn't measure is just a single number?
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |