March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hi Team
Its me again
almost similiar with prev question
i had table of BKG No
common SUM result RED Column
i want result in Green Column
Pls help me In Dax .
( write me DAX , so i can sopy it )
i still confuse of using it
Thanks and really appreciate any help and respond
Regards
Syaiful Efendi
Solved! Go to Solution.
Hi @Anonymous
Create a measure
Measure = DISTINCTCOUNT('Table'[No Booking])
If there is another column added into the table visual, you can create measures
rank =
RANKX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[No Booking]
= MAX ( 'Table'[No Booking] )
),
CALCULATE (
MAX ( 'Table'[Index] )
),
,
ASC,
DENSE
)
Measure 2 =
IF (
[rank] = 1,
CALCULATE (
DISTINCTCOUNT ( 'Table'[No Booking] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[No Booking]
= MAX ( 'Table'[No Booking] )
)
)
)
Measure 3 = IF(ISINSCOPE('Table'[No Booking]),[Measure 2],SUMX(ALLSELECTED('Table'),[Measure 2]))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Create a measure
Measure = DISTINCTCOUNT('Table'[No Booking])
If there is another column added into the table visual, you can create measures
rank =
RANKX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[No Booking]
= MAX ( 'Table'[No Booking] )
),
CALCULATE (
MAX ( 'Table'[Index] )
),
,
ASC,
DENSE
)
Measure 2 =
IF (
[rank] = 1,
CALCULATE (
DISTINCTCOUNT ( 'Table'[No Booking] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[No Booking]
= MAX ( 'Table'[No Booking] )
)
)
)
Measure 3 = IF(ISINSCOPE('Table'[No Booking]),[Measure 2],SUMX(ALLSELECTED('Table'),[Measure 2]))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous , in dax you can create a table starting from your original table grouping by "No Booking" column.
Hope it will help you.
P.
show me in dax pls
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |