The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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() )
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |