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 everyone,
I would like to ask you something. Can someone help me out.
I made those two graphics using different tables.
I would like to sum the values of the same date. So for example: 3835 + 73800 = 77635.
Can someone tell me how I can sum the values where the date is equal?
Probably important to know.
- I used count(table[kolom]) to get the amount in both graphics
- I already tried to make a join between the two tables on date.
Thanks in advance
Solved! Go to Solution.
@jppv20 is right.
If you have a calendar table that each of these fact tables can connect to (best practice),
a measure such as Total = SUM('TableA'[Sales]) + SUM('TableB'[Sales])
will work perfectly, assuming your visual uses the year\ month\ dates from the calendar table.
Hi,
I just create a date table and joined both tables with this table. It worked! So now it is possible to but them both in the visual.
I am wondering if I can also use DAX to make a measure. So I will not see dark blue and light blue, but just one.
I know I can manipulate this as wel with 'Formatting', but I would like to do this on a correct way.
Thanks in advance!
You can always create a measure that does that!
Aggregate = SUM('TableA'[Sales]) + SUM('TableB'[Sales])
There you have it- a measure with one number to rule them all.
@jppv20 is right.
If you have a calendar table that each of these fact tables can connect to (best practice),
a measure such as Total = SUM('TableA'[Sales]) + SUM('TableB'[Sales])
will work perfectly, assuming your visual uses the year\ month\ dates from the calendar table.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |