Forum Discussion
incremental column in Power BI
Hi v-yingjl, Thanks for your reply this is really helpful when we have an source like SQL OR Exel or any other source but here my scenario is my source is tabular model so i can't create index column inpower Bi desktop level, If you have any other ways to add an cremental columns please suggest me.
Hi Anonymous ,
Now let's arrange it together. Since your data source is a tabular model so that you cannot create a calculate column using Rankx(). Also, you don't want to modify your model. Right?
If so, whether I can create a measure intersperseding rankx() in it like this with the tabular model in power bi desktop to meet your requirement:
Measure =
VAR tab =
SUMMARIZE (
Sheet1,
Sheet1[Provider Legacy Number],
Sheet1[Paid Amount],
"Rank", RANKX ( ALL ( Sheet1 ), Sheet1[Paid Amount] )
)
RETURN
SUMX ( tab, [Rank] )Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
v-yingjl, Hi still am getiing issue becacuse Sheet1[Paid Amount], this is calucalted measure in model while writing measure am not able to get paidamount . In my report all columns are coming from different table.