Forum Discussion

gauravnarchal's avatar
gauravnarchal
Icon for Post Prodigy rankPost Prodigy
5 years ago

Add Static value Column - Measure

Hello - How can I create a measure to show 10 value in each row of a table or matrix?

 

NameBranch(Measure) Add column and show 10 value in each row
ABC IntlNYC10
ZZZ LogisticsLON10
ABC IntlCAI10
ZZZ LogisticsMEL10
ABC IntlDEL10
ABC IntlSHA10
ABC IntlNYC10
ZZZ LogisticsNYC10

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi gauravnarchal ,

    You can create a measure as below:

     

    Measure = CALCULATE ( 10, ALLSELECTED ( 'Table' ) )

     

    Best Regards

    • gauravnarchal's avatar
      gauravnarchal
      Icon for Post Prodigy rankPost Prodigy

      Anonymous - I am getting below error when I try to enter this measure.

       

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi gauravnarchal ,

        According to this official documentation, it is due to the visual has attempted to query too much data for us to complete the result with the available resources. It is recommended to filter the visual to reduce the amount of data in the result. You can adopt the method in the following link to resolve the problem.

        The “Visual Has Exceeded The Available Resources” Error In Power BI

        Or please update the formula of measure as below and check whether it still get any error.

        Measure = CALCULATE ( 10, ALLSELECTED ( 'Table'[Name], 'Table'[Branch] ) )

        Best Regards

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi gauravnarchal ,

    Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

    Best Regards