Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi, I have "TABLE 1" where I have duplicate records, the issue is that while summarizing for getting unique records, as someone missepelled the name, I am getting two records for a single ID, as in case of ID 8 on my "Current Result" Table, this is incorrect.
The ideal would be to have something like the "DESIRED RESULT" table.
I need to used DAX as I do not have access to the data source for doing this from the Query.
DAX I am currently using, which is not working is:
RESULT = SUMMARIZE( 'TABLE1', 'TABLE1'[ID], 'TABLE1'[NAME] )
Solved! Go to Solution.
Thanks @Zubair_Muhammad , although your DAX proposal was not 100% of what I needed it guide me through to get the right result, DAX can be found below.
RESULT =
FILTER (
'TABLE1',
'TABLE1'[DATE]
= CALCULATE (
MAX ( 'TABLE1'[DATE] ),
ALLEXCEPT ( TABLE1, 'TABLE1'[ID] )
)
)
This was because the "ID" is the column that contained all the right ID's, no typos.
Hi @Oscar_Mtz_V
Try following
RESULT = FILTER ( 'TABLE1', 'TABLE1'[DATE] = CALCULATE ( MAX ( 'TABLE1'[DATE] ), ALLEXCEPT ( TABLE1, 'TABLE1'[NAME], 'TABLE1'[ID] ) ) )
Thanks @Zubair_Muhammad , although your DAX proposal was not 100% of what I needed it guide me through to get the right result, DAX can be found below.
RESULT =
FILTER (
'TABLE1',
'TABLE1'[DATE]
= CALCULATE (
MAX ( 'TABLE1'[DATE] ),
ALLEXCEPT ( TABLE1, 'TABLE1'[ID] )
)
)
This was because the "ID" is the column that contained all the right ID's, no typos.
This is just I need, thanks.
Hey guys,
I believe i have the same issue, but i got this message...
My measure is:
Any ideas?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
69 | |
35 | |
21 | |
18 | |
15 |
User | Count |
---|---|
127 | |
32 | |
27 | |
24 | |
22 |