The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
How can i recreate a table from step 1 to step 2 below? (in DAX)
1.
Customer ID | Price | Program Name | Date
ABC $100 Show 10/1/2022
ABC $50 Movie 10/1/2022
EFG $100 Show 10/5/2022
EFG $100 Show 10/5/2022
XXX $100 Show 10/9/2022
XXX $50 Movie 10/9/2022
YYY $100 Show 10/15/2022
YYY $100 Show 10/15/2022
from above to somthing like this:
Customer ID | Date
ABC 10/1/2022
EFG 10/5/2022
XXX 10/9/2022
YYY 10/15/2022
think i need to use DISTINT but not sure how i can add additional fields like date
thank you!
Solved! Go to Solution.
Hi @yyhk123 ,
if you ant to create another table you can use this
Table =
SUMMARIZE('Facts17',
'Facts17'[Customer ID],
'Facts17'[Date]
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you need to create a new table (not a visual), use:
Summarized Table = SUMMARIZE(Table, Table[Customer ID], Table[Date])
Proud to be a Super User!
Paul on Linkedin.
Hi @yyhk123 ,
if you ant to create another table you can use this
Table =
SUMMARIZE('Facts17',
'Facts17'[Customer ID],
'Facts17'[Date]
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
i want this to be in DAX
thank you!
I am using that field to create another table
is there a way without removing the columns?