Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Community,
Probably this is easy to solve, but I am having some problems.
I would like to cretae a new column with this conditions:
- between dates 1/1/2023 and 31/3/2023
- check if value is the same in the column
- create new column if value is the same in the column and if it was created between dates above.
Here is the result expected for new column [New2023?]:
Product=Pasta is the one that is in different rows and that match conditions above.
Can you help me?
Thank you.
Hi Yellow,
A calculated column that evaluates if the Product value is duplicated and within the data range you need would work.
Something like the bellow code:
You can find the example in this file: Create new colum comparing value in same column.pbix
Did I answer your question? Mark my post as a solution!
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |