Forum Discussion

bmannato's avatar
bmannato
Frequent Visitor
9 years ago

Create a measure based on a visual

I created a Card (hence, a Visual), by applying some filters into a column from my dataset. Is there an easy way to convert the resulting number into a measure? I'm not that familiar with DAX expressions, and would be much easier for me to create measures based on visuals than DAX expressions

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    bmannato wrote:

    I created a Card (hence, a Visual), by applying some filters into a column from my dataset. Is there an easy way to convert the resulting number into a measure? I'm not that familiar with DAX expressions, and would be much easier for me to create measures based on visuals than DAX expressions


    bmannato

    You can create a measure to get the same resulting number in a card visual, but the measure doesn't always give the same result and would vary according to context

     

    However you can still limit the context in the measure by using ALLEXCEPT. As to how to create the measure in your case, it all depends on your scenario. So could you post the specific problem in your case?