Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
@chotu27,
Would you please share sample data of your table so that I can test?
Regards,
Lydia
@chotu27,
As mentioned by the above error message, when you have multiple rows which contain same values for status column(e.g, row1:Active, row2:Active, row3:Active), you should have same sort number(e.g, row1:1,row2:1,row3:1) in Custom Status column.
Regards,
Lydia
@v-yuezhe-msft Yes exactly but i am sorting the table which other column is there any chnace of getting this done.
@chotu27,
Would you please share sample data of your table so that I can test?
Regards,
Lydia
We added "sort by" columns to our SQL date/time table - so we can sort the months properly.
Here is the magic SQL we found that sets the "sort by" up correctly for Power BI.
--Month
UPDATE dbo.Time SET Month_Period_Of_Time = RowNumber
FROM dbo.Time TM, (SELECT [Month], ROW_NUMBER() OVER (ORDER BY [Month]) AS RowNumber FROM dbo.Time) AS TMR
WHERE TM.[Month] = TMR.[Month]
UPDATE dbo.Time SET Month_Period_Of_Time_Reverse = RowNumber
FROM dbo.Time TM, (SELECT [Month], ROW_NUMBER() OVER (ORDER BY [Month] DESC) AS RowNumber FROM dbo.Time) AS TMR
WHERE TM.[Month] = TMR.[Month]
Each month ends up with the same sort number.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |