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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
4008040
Frequent Visitor

Add Bi-weekly pay date to calendar

Hi

 

I currently use CEILING in DAX to add a payday column to a calendar table. I'm looking for a way to do the same in Power Query so I can build pay calendars all in one go. I haven't found a way on my own so I am hoping someone ho sees this can help.

 

4008040_0-1675236538185.png

 

4 REPLIES 4
AlB
Community Champion
Community Champion

Try this instead

Number.RoundUp(number as nullable number, optional digits as nullable number)

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

4008040
Frequent Visitor

Thanks for the suggestion, Number.RoundUp doesn't do the same as the DAX Ceiling. I'm just going to stick with the Dax solution for now.

4008040
Frequent Visitor

Hi @AlB 

 

I can't seem to be able to use Number.Ceiling. Am I getting something wrong here? It doesn't seem to show up in desktop or web for me.

4008040_1-1675289876600.png

4008040_3-1675290372131.png

 

 

4008040_2-1675290039534.png

 

 

4008040_0-1675289654701.png

 

AlB
Community Champion
Community Champion

Hi @4008040 

There's a very similar function in M:
Number.Ceiling(number as number, optional precision as nullable number)

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.