Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Dear Power BI-Community
Following problem to solve:
Let's assume this table with more than 1'000 records.
As you can see in column A (business unit), there are dublicates that should not be treated as dublicates.
The goal (font in red) is to change in transformation the second occuring value with a string e.g. "-*"
| Business Unit | Datum | Value |
| A | 01.01.2021 | 225 |
| 01.02.2021 | 241 | |
| 01.03.2021 | 325 | |
| 01.04.2021 | 258 | |
| A-* | 01.01.2021 | 12 |
| 01.02.2021 | 13 | |
| 01.03.2021 | 14 | |
| 01.04.2021 | 15 | |
| B | 01.01.2021 | 547 |
| 01.02.2021 | 564 | |
| 01.03.2021 | 324 | |
| 01.04.2021 | 478 | |
| B-* | 01.01.2021 | 22 |
| 01.02.2021 | 20 | |
| 01.03.2021 | 18 | |
| 01.04.2021 | 14 |
Any ideas?
Thank you very much for your contribution.
Cheers
qwertzuiop
Solved! Go to Solution.
Hi @qwertzuiop,
You can enter to query edit and 'fill down' on your category fields and add an index column to your table.
Fill values in a column - Power Query | Microsoft Docs
Add an index column - Power Query | Microsoft Docs
After these steps, you can back to the 'data view' side add calculate column with Dax expressions to check the current 'business unit', index field values to remark the raw or duplicate rows.
Regards,
Xiaoxin Sheng
Hi @qwertzuiop,
You can enter to query edit and 'fill down' on your category fields and add an index column to your table.
Fill values in a column - Power Query | Microsoft Docs
Add an index column - Power Query | Microsoft Docs
After these steps, you can back to the 'data view' side add calculate column with Dax expressions to check the current 'business unit', index field values to remark the raw or duplicate rows.
Regards,
Xiaoxin Sheng
Hey @qwertzuiop ,
I'm wondering about the following
Regards,
Tom
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |