Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
is there a way to copy the trans_type to the blank value using dax?
sample
Thanks.
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
It is for creating a new column.
trans_type_fill CC =
VAR _CurrentRowInvoice = data[invoice_no]
VAR _CurrentRowDueDate = data[due_date]
VAR _t =
FILTER (
data,
data[invoice_no] = _CurrentRowInvoice
&& data[due_date] = _CurrentRowDueDate
&& data[net_amount] == 0
)
VAR _transtype =
SUMMARIZE (
_t,
data[trans_type]
)
RETURN
_transtype
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
It is for creating a new column.
trans_type_fill CC =
VAR _CurrentRowInvoice = data[invoice_no]
VAR _CurrentRowDueDate = data[due_date]
VAR _t =
FILTER (
data,
data[invoice_no] = _CurrentRowInvoice
&& data[due_date] = _CurrentRowDueDate
&& data[net_amount] == 0
)
VAR _transtype =
SUMMARIZE (
_t,
data[trans_type]
)
RETURN
_transtype
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
13 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
12 | |
11 |