Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I have a table. I want to calculate a measure which checks if column A =0, the calculate(sales), else values comes from A column
How to implement this?
Hello @Analitika
Could you add a Conditional Column, in the Query Editor, like this?
And then sum the new column?
Or am I missing part of the requirement?
I need to make a measure which calculates like this: if column r =0, then Pardavimai DK+-50_5 else column[r].
Hi @Analitika ,
If you want to judge the column r if equal 0, you need the measure of this column r. It may be sum('table'[r]) or max('table'[r]). In any case, fields in digital format must be the result of aggregation in the table visual.
Based on this. measure should look like this.
Measure =
IF( SUM('Table'[r]) = 0 , SUM( 'Table'[Pardavimai DK+-50_5]), SUM('Table'[r]) )
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sales is not a column it is a measure
what column is Sales based on?
would this work?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.