The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I used below formula to replace the value based on theprevious value using Index column but it takes too much time to load and when I apply the next step it show the error. Is there any alternative formula I can use?
Table.AddColumn(#"Added Index", "Custom", each if ConScorecard[Hours]{[Index]} = ConScorecard[Hours]{[Index]-1} then "0" else ConScorecard[Hours]{[Index]})
Thank you!
Solved! Go to Solution.
You may use RANKX Function to add a calculated column.
https://community.powerbi.com/t5/Desktop/IF-AND-dax-Formula/m-p/293991#M129654
You may use RANKX Function to add a calculated column.
https://community.powerbi.com/t5/Desktop/IF-AND-dax-Formula/m-p/293991#M129654
Hi,
I have a table which has 10 columns. One of the column has duplicate value for the same month which I want to replace with "0". Please look at the highlighted cell value which I want to replace with "0" because those are duplicate value. I can't run remove duplicate function because it will eliminate entire row, which has some data I may not want to lose.
Thank you!