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
Highlighted
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

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     

   

Highlighted
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 Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)