Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi
I have added a new table using SUMMARIZE. All seemed to be working fine but I have just realised that some "Customers" do not have all dates which I need to display.
Is it is possible to create a table from 2 columns but displaying all possible combinations?
Customer | CreatedMonthAndYear |
AA | Feb 2024 |
BB | Mar 2024 |
CC | Apr 2024 |
Customer | CreatedMonthAndYear |
AA | Feb 2024 |
AA | Mar 2024 |
AA | Apr 2024 |
BB | Feb 2024 |
BB | Mar 2024 |
BB | Apr 2024 |
CC | Feb 2024 |
CC | Mar 2024 |
CC | Apr 2024 |
Any Help would be great
Thanks
Solved! Go to Solution.
Hi @Topjacket Using crossjoin, you would be able to create all kinds of possible combination. Try below code:
DesiredTable =
CROSSJOIN(
DISTINCT('Cases'[Customer Created]),
DISTINCT('Cases'[MonthAndYear])
)
Desired output:
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz
Hi @Topjacket Using crossjoin, you would be able to create all kinds of possible combination. Try below code:
DesiredTable =
CROSSJOIN(
DISTINCT('Cases'[Customer Created]),
DISTINCT('Cases'[MonthAndYear])
)
Desired output:
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
23 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
41 | |
32 | |
23 | |
22 | |
22 |