Forum Discussion

JUSEGAPO's avatar
JUSEGAPO
Regular Visitor
9 years ago
Solved

¿How i can make calculation including filters?

Hi everyone,   Im new on it platform, i was working on Qlik platforms but in this moment we need to use Power BI.    I need to calculate percetage of execution, so i have it information:   N...
  • GilbertQ's avatar
    9 years ago

    Hi JUSEGAPO

     

    You can do it with the following measures below. 

    NOTE: My table is named 'Table1'

     

    Tickets = COUNTROWS('Table1')
    
    Tickets Closed = CALCULATE([Tickets],'Table1'[Estado] = "Closed")
    
    Tickets Closed % = DIVIDE([Tickets Closed],[Tickets])

    I then put in a slicer for Proyecto and I got the following result when slicing on Project1