Forum Discussion

PowerBrowse's avatar
PowerBrowse
Helper I
3 years ago
Solved

Using Gauge

I have one field which I want to display using a Gauge. The field is a status field and is populated with Approved, Received, Line Manager.  I want to use the Gauge to show the number of each of App...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi PowerBrowse ,

     

    Please try:

    Maximun value = CALCULATE(COUNT('Table'[Status]) ,ALL())
    Value = 
    VAR _slicer = SELECTEDVALUE('Table'[Status])
    VAR _count = 
    CALCULATE(
        COUNT('Table'[Status]),
        'Table'[Status] = _slicer
    )
    RETURN
    _count

    The PBIX file is attached for reference.

     

    Best Regards,
    Gao

    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!

    How to get your questions answered quickly -- How to provide sample data