Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All,
i have a Fact table that contains two date columns:
a) Go Live (Start)
b) Go Live (End)
I basically want to create a matrix like below, however, i'm confused since one date relationship will be inactive so how do i capture the full range of month-year i need? At the moment, i'm only getting month-year for the months shown in my active date column. How do i make sure that it's capturing all the dates from both Go Live (start) column and Go Live (end) column?
| Jan-20 | Feb-20 | April-20 | Sept-20 | |
| On Prem | 8 | 7 | 8 | 7 |
| Cloud | 10 | 11 | 20 | 1 |
Solved! Go to Solution.
Hi,
You can try to create a table "calendar" with calendarauto() and a mesure :
Calculate(SUMX(data, data[colonne]), USERELATIONSHIP(calendar[date], data[Go Live (Start)])) + Calculate(SUMX(data, data[colonne]), USERELATIONSHIP(calendar[date], data[Go Live (End)]))
Where data is the table that contains your data
Hi,
You can try to create a table "calendar" with calendarauto() and a mesure :
Calculate(SUMX(data, data[colonne]), USERELATIONSHIP(calendar[date], data[Go Live (Start)])) + Calculate(SUMX(data, data[colonne]), USERELATIONSHIP(calendar[date], data[Go Live (End)]))
Where data is the table that contains your data
Thanks so much!
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |