cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markoss92 Regular Visitor
Regular Visitor

Help in DAX

Hi, I need help about a measure/calculated column:

 

IDCLIENTE MONTH NUM_TICKETS TICKETS_TOTAL                  SLICER OF MONTH

   1              JUNY             2                       6                                 JUNY   X

   1              JULY              4                       6                                 JULY    X

                                                                                                    AGOUST    -

 

 

I need to get tickets_total. it have to be responsive with the month slicer. If Agoust is not selected then it wont be included in tickets_total

 

Mant Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Help in DAX

Hi @markoss92

Create a Measure 

Measure = CALCULATE(SUM(Sheet9[number]),FILTER(ALLSELECTED(Sheet9),[client id]=MAX([client id])))

3.png

4.png

 

Best Regards

Maggie

 

View solution in original post

5 REPLIES 5
markoss92 Regular Visitor
Regular Visitor

Doubt in DAX

Hi, I need help about a measure/calculated column:

 

IDCLIENTE MONTH NUM_TICKETS TICKETS_TOTAL                  SLICER OF MONTH

   1              JUNY             2                       6                                 JUNY   X

   1              JULY              4                       6                                 JULY    X

                                                                                                    AGOUST    -

 

 

I need to get tickets_total. it have to be responsive with the month slicer. If Agoust is not selected then it wont be included in tickets_total

 

Mant Thanks

Highlighted
Super User
Super User

Re: Help in DAX

@markoss92 I believe you are looking to display the total tickets based on the slicer selection. If yes, then please create a new measure as SUM(NUM_TICKETS) then it will automatically display the total tickets based on the months selection in slicer.


Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





AkhilAshok Established Member
Established Member

Re: Help in DAX

How about this:

Tickets Total =
CALCULATE ( SUM ( Table[Num_Tickets] ), ALLSELECTED ( Table[Month] ) )
markoss92 Regular Visitor
Regular Visitor

Re: Help in DAX

Hi @AkhilAshok. Thats a nice solution, but the problem is that the unselected months appear in my table. Example

 

CLIENTID    MONTH    NUM_TICKETS      TOTAL_TICKETS                   MONTH SLICER

   1               JUNY              -                                 9                              JUNY       X

   1               JULY                4                                9                              JULY        X

   1               AGOUST         5                                9                              AGOUST  -    

 

Thanks for your help     

   

Community Support Team
Community Support Team

Re: Help in DAX

Hi @markoss92

Create a Measure 

Measure = CALCULATE(SUM(Sheet9[number]),FILTER(ALLSELECTED(Sheet9),[client id]=MAX([client id])))

3.png

4.png

 

Best Regards

Maggie

 

View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,474)