Quick DAX : Convert to Roman Numerials

Posted by on Aug 9, 2018 in DAX, Power BI | No Comments

One of the biggest holes in DAX today is the lack of a native function that allows you to convert a decimal number to its roman number equivalent.  Excel has a ROMAN() function so I thought it was about time to share one approach to converting decimal numbers to Roman.  I can feel a collective ...

Read More

Fun with DAX – Tic Tac Toe

Posted by on Jul 17, 2018 in Power BI | 2 Comments

To follow in the spirit of some of my recent blogs, I thought I would have a look to see how feasible it might be to build a Tic Tac Toe game using just DAX and Power BI.  I get pretty close and will detail my approach here in this article.  For starters, here is ...

Read More

Quick DAX : Convert number to binary (and back)

Posted by on Jun 27, 2018 in DAX, Power BI | 2 Comments

Something that is currently missing in DAX is a native set of functions to perform Bitwise operations.  These can be incredibly useful functions and one, in particular, is the ability to convert a  base10 number to its binary format. Once you have the number in binary format, you can apply logical operations between numbers to ...

Read More

Fun with DAX – Sudoku

Posted by on Jun 22, 2018 in DAX, Power BI | 3 Comments

Carrying on from my recent article on how to build a game of Blackjack using Power BI and DAX, this time I thought I would see if I could build a fully playable game of Sudoku. A big thanks to my good friend Tom Martins over at minceddata  for giving me the idea. The end result ...

Read More

Fun with DAX – Blackjack Game

Posted by on Jun 8, 2018 in DAX, Power BI | 3 Comments

I thought it might be fun to try something a little different with this blog and use a combination of bookmarks with a little DAX magic to come up with a game that plays a hand of Blackjack.  Power BI and DAX are not the ideal engine to build a game of Blackjack with, but ...

Read More

DAX : Convert Number into Month Name

Posted by on May 19, 2018 in DAX | 4 Comments

I sometimes see requests asking how to convert a number between 1 and 12 into a month name such as “Jan” or “February. The most common solution I see offered is along the lines of a SWITCH statement that lists 12 conditions (one for each month).   This works, but can also be done using existing ...

Read More