Forum Discussion

penguins_fly's avatar
penguins_fly
Regular Visitor
2 years ago
Solved

Related function resulting blank columns

Hi guys, I am a newbie here. I am trying to create a new table using the Related() function.  DAX code: Sales in USD =  ADDCOLUMNS(     Sales,     "Country Name", RELATED(Countries[Country]), ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi penguins_fly ,

     

    Thank you very much for your prompt reply.

     

    I can not open your pbix link, please upload it another way, and please do not be logged into your own account when uploading.

     

    Or you could provide me with sample data for testing, please remove any sensitive data in advance.

     

    I am not sure about your [Gross Revenue], [Net Revenue], [Total Tax] measure syntax, I created my own measure example:

    Gross Revenue = MIN('Exchange Data'[Exchange Currency])
    
    Net Revenue = MAX('Exchange Data'[Exchange Currency])
    
    Total Tax = SUM('Sales in USD'[Exchange Currency])

     

    After applying your DAX syntax, there is still no error reported, which is the page effect:

     

    I think you are right, this could be a temporary glitch, perhaps you could try updating Power BI Desktop to the latest version.

     

    If you have any other questions please feel free to contact me.

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!