Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |