Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
i have this table with this formula to show result column,it's worked but i need to no calculate the result with red rectangle.
i didn't find how to make him jump and not substract bike by car and car by bus,the needed result is shown below
Any one can help please ? thank you 🙂
Solved! Go to Solution.
@FZOU , Create a new column like
New column =
var _ min = MINX(filter(Table, [Index] > earlier([Index] ) , [Category] = earlier([Category])),[Index])
return
[value] -MINX(filter(Table, [Index] =_min , [Category] = earlier([Category])),[value])
@FZOU , Create a new column like
New column =
var _ min = MINX(filter(Table, [Index] > earlier([Index] ) , [Category] = earlier([Category])),[Index])
return
[value] -MINX(filter(Table, [Index] =_min , [Category] = earlier([Category])),[value])
@amitchandak thank you very much it works, otherwise there is a solution to replace the values (4,8,2) with "-" or blank ? thank you
Try this:
Result =
VAR Category_ = Table3[Category]
VAR Index_1 = Table3[Index]
VAR Index_2 = CALCULATE( MIN(Table3[Index]) , Table3[Index] > Index_1 , Table3[Category] = Category_)
Return
Table3[Value] - CALCULATE(Table3[Value] , Table3[Index] = Index_2 )
Br,
J
Hi @tex628
thank you for your response, but i tried your formula and nothing happend it show the same values as the column value
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |