Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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
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
User | Count |
---|---|
11 | |
9 | |
6 | |
5 | |
4 |