Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a data table like below.
Now, I want to mark rows, which meet these conditions:
Sample file:
https://drive.google.com/file/d/1JRVwaAN-WDW0xzo-WEAu9vUZM7yygyCW/view?usp=sharing
If something is not clear for you, please ask and I kindly respond.
Thanks in advance!
Solved! Go to Solution.
Hi @pawelj795 ,
Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pawelj795 ,
Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
please check the attachment to see if this is what you want
Proud to be a Super User!
@ryan_mayu
@amitchandak
Sorry, but both of your answers are not working properly.
My goal is to filter out rows that meet all of these conditions.
In your answers, it works fine for duplicates but simultaneously it filters out also some rows with distinct values.
This column must work for the whole data table.
Moreover, the answer must be created in one column, not divided by 2 columns.
.
@pawelj795 , You can create a new column like
New column =
var _max = maxx(filter(Table, [parent_product_tmpl_id] = earlier([parent_product_tmpl_id]) && [product_tmpl_id] = earlier([product_tmpl_id])),[create_date])
return
if([create_date] =_max , 1, 0)
@amitchandak
Thanks for your response.
Unfortunately, your column doesn't work.
My main goal is to filter out rows, which are duplicates with the earliest values, however I want to keep the other rows, which don't meet the first condition
@pawelj795 , try Id in place of date
New column =
var _max = maxx(filter(Table, [parent_product_tmpl_id] = earlier([parent_product_tmpl_id]) && [product_tmpl_id] = earlier([product_tmpl_id])),[ID])
return
if([ID] =_max , 1, 0)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 45 | |
| 38 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 87 | |
| 69 | |
| 38 | |
| 29 | |
| 26 |