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.
Solved! Go to Solution.
Hi,
Please try IF dax function:
Column = IF(RELATED('Table 2'[Date].[Year])=2000,'Table'[Amount]*'Table'[Quantity])
And it shows:
Hope this helps.
Best Regards,
Giotto Zhi
Hi @suman-petlu
try
Column = SWITCH([t3189.w_xact_type_code],
"Standard Invoice", [t4720.loc_exchange_rate] * [t4720.net_amt],
"Invoice Cancellation" ,- 1 *[t4720.net_amt] * [t4720.loc_exchange_rate],
0
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @az38 ,
I tried using Switch function but i didn't get desried results.Please help
But tried to multiply with Constant value ,its working as expected
Regards,
Suman
Hi,
Please try IF dax function:
Column = IF(RELATED('Table 2'[Date].[Year])=2000,'Table'[Amount]*'Table'[Quantity])
And it shows:
Hope this helps.
Best Regards,
Giotto Zhi
Try using this inside switch sumx(sales[Amount_sold]*sales[Quantity_sold])
Switch(times[calenderyear]="2000",sumx(sales[Amount_sold]*sales[Quantity_sold]))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |