Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Column Sorting Issues

Hello,

 

I am trying to sort my Month-S column by Month-N and it's not giving me any error message.

 

Capture.PNG

 

However, the other calculated columns referencing the Month-S column all turn into errors. I tried sorting Month-S by other columns as well and it still turn those columns into errors.

 

Capture.PNG

 

I'm can't seem to find a solution. Please help!

 

Thanks,

PN

3 REPLIES 3
sokg
Solution Supplier
Solution Supplier

In your measure try to use

ALLEXCEPT instead of ALL.
 
Can you share the [SHOW MM?] calculation???
Anonymous
Not applicable

Hi @sokg,

 

Here is the [SHOW MM?] measure:

 

SHOW MM? = if(day(max('SD-ACTUALS'[Date]))=15, if([StartOFLatestMYSMonth]<[StartOFCurrentMonth],"YES","NO"),"NO")

Hi @Anonymous 

I would suggest you create a calculated column [SHOW MM?] in the table.Then create calculated column [Month-S-P] by calculating [SHOW MM?].Please do not calculate measure in columns.

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors