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 experts!
I have a table that shows me for all orders mutiple rows with different values:
Order | State | Key | Value |
100 | A | A1 | 50 |
100 | B | A1 | 60 |
101 | A | A1 | 40 |
Here I would like to add a calculated column that returns for each order (there are mutpliple rows per order) true the order has any entry with
How is that possibleas a calculated column?
Solved! Go to Solution.
@joshua1990 . Not very clear
New column =
var _cnt = countx(filter(Table, [Order] =earlier([Order]) && [State] = "A" && [Key] ="A1") , [Order])
return
if(isblank(_cnt), false() , True() )
@joshua1990 . Not very clear
New column =
var _cnt = countx(filter(Table, [Order] =earlier([Order]) && [State] = "A" && [Key] ="A1") , [Order])
return
if(isblank(_cnt), false() , True() )
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |