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.
so i am showing the vaccines done during different month on the bars of the chart. the date on the the x-axis is the vaccination date. The line values are sum of sms sent to patients for vaccination reminder. now what i want is i want the sum of the sms to be shown according to the sms sent date. but for now the sms are shown according to the vaccination date.
any solution?
Can u create a non active relatioship between your smsdate and date table? After that you can use CALCULATE in combination with USERELATIONSHIP to create your desired result.
@Johannesvd there is no date table. there are two date columns, vaccination date and sms sent date.
Is it possible to add one?
Example:
https://www.sqlbi.com/tools/dax-date-template/
After that create to connections (one active for date vaccination and one in active for smsdate)
Than you can use something like this:
CALCULATE(count(EXAMPLE[sms sent date]);USERELATIONSHIP(EXAMPLE[sms sent date];'DATE'[Date])
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
91 | |
50 | |
44 | |
40 | |
35 |