Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

DAX Issue

Hi Everyone

        Am having user wise so many brand are there in inside table . so my requirement is user wise how many transaction done it . i want total transaction(Measure). am struggled on dax side. please sort me out 


Muthuvel_s_0-1615223919650.png

Output 


Muthuvel_s_1-1615223974304.png

 

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@Anonymous 

Try these measures:

BrandTxn = COUNT('Table'[Brand Name])
Total TXN =
CALCULATE (
    DISTINCTCOUNT ( 'Table'[TXN ID] ),
    ALLEXCEPT ( 'Table', 'Table'[User ID] )
)

result.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

8 REPLIES 8
PaulDBrown
Community Champion
Community Champion

@Anonymous 

Try these measures:

BrandTxn = COUNT('Table'[Brand Name])
Total TXN =
CALCULATE (
    DISTINCTCOUNT ( 'Table'[TXN ID] ),
    ALLEXCEPT ( 'Table', 'Table'[User ID] )
)

result.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi @PaulDBrown 

             Its working but some filters also not applied. i want when i click on that single brand name its showing only that brand name and total txn count.
But you given that measure its shwoing all userid and all values 

Muthuvel_s_0-1615262728609.png

 




@Anonymous 

Do you have the interactions enabled between the slicer and the table?

Interactions.JPGCount Values.gif





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi PaulDBrown 
   
   Its working fine and when we are using the date filter range is not applicable on that total transaction count. how to make on that dax on date wise it's showing total transaction count. Interaction also fine.. so please sort me out. 

Muthuvel_s_0-1615531398726.png

 

@Anonymous 

Please post an image of the model.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi 
  Am not use any interactions. when am use these measures am getting full data that date filter also not working so we are getting some mismatch data. please sort me out. i want output is 20 

Muthuvel_s_0-1615301596776.png

 

Muthuvel_s_1-1615301670704.png

 

 

@Anonymous 

For slicers to work, you have to enable interactions between the slicer and the visual(s).

Interactions.JPG

 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi 
   Am also tried your measure, but am not getting total value. please sort me out

 

Muthuvel_s_0-1615464449084.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.