Forum Discussion

o59393's avatar
o59393
Post Prodigy
5 years ago
Solved

Total values incorrectly returning 0

Hi all   I have created some if selected dax mesaures, they work perfectly when you select the respective value (project type).   The only problem I have is when you select all the project types,...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, o59393 

    Please try the below measure for the TOTAL FIX.

    The link is down below.

    If the number is incorrect, please let me know what number you want to see.

     

    Final Cost Tons total fix =
    SUMX (
    CROSSJOIN ( 'Query1 (3)', VALUES ( 'Productivity Central'[Project type] ) ),
    [Final Cost Tons]
    )

     

     

     

    https://www.dropbox.com/s/waldisbkgvaakkz/Example%20PBIx.pbix?dl=0 

     

     

    Hi, My name is Jihwan Kim.

     

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

     

    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM