Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217551

[DAX] Format function seems not working

$
0
0

Dear all,

 

Format function seems not working like below capture screens.

Would anyone please clear which is wrong ; me or Power Bi?

Below is my purpose and problem details.

 

Purpose

  • Want to show week numbers continued by last week of last year on X-axis (i.e. '15 W51  |  '15 W52  |  '16 W1  |  '16 W2 )
  • Try to Concatenate the Year and Week numbers for using X-axis
  • Try to change Year and Week numbers to text for using Concatenate parameters 

Problems

  • The function Format in DAX does not work rightly like below
  • Parameter "G" as General Number changes all the number to string just "G" (Figure #1)
  • Parameter #### as 4 digit numbers returns error message (Figure #2)

 

Figure #1

DAX_Function_Format 2.PNG     

 

Figure #2

 DAX_Function_Format.PNG

 

 

 

 


Viewing all articles
Browse latest Browse all 217551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>