我正在创建一个Power BI
报告,该报告需要根据上个月的薪水乘以一个值来计算本月的薪水。
我想在Power BI
中使用Add Column-> Custom column
功能进行查询。
请帮忙。
if [Number of Months]= 0 then [Avg. Salary] else
Number.Power([Number of Months],1.005)*[Avg. Salary]
where [Date]=[Last Actual Month]
I have tried this but it does not work
if [Number of Months]= 0 then [Avg. Salary] else
Number.Power([Number of Months],1.005)*[Avg. Salary]
where [Date]=[Last Actual Month]
if [Number of Months]= 0 then [Avg. Salary] else
Number.Power([Number of Months],1.005)*[Avg. Salary]
[Date]=[Last Actual Month]
应该给出一个值