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 moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi all,
I have a table with the following 3 relevant columns:
My goal is to create the following visual, where for each time period (month, year) I show the Start date amount minus Maturity date Amount (e.g. for 10 January I will have let's say 2 rows with Start date = 10 January and 4 other rows with Maturity date = 10 January. I want the delta of the amount of these 6 rows such as (sum of the 2 Start date rows amount) - (sum of the 4 Maturity date rows amount).
For now, I solved by duplicating the fact table and connecting both of them to the calendario table with the different dates (one is connected with Starts, other with Maturity). See below
The issue is that if I want to add new data, I have to add such data to both the original fact table and the duplicate table
Does anyone have a solution to have the same result but without duplicating the fact table?
Thanks
Stefano
@BaronSdG , You need to create a common date table. Join it with both dates. One join will be inactive that you need to activate using userelationship
Assume start date is active, then ,measure is
sum(Table[Amount value])
and Maturity Date is inactive
calculate(sum(Table[Amount value]) , USERELATIONSHIP ('Date'[date], Table[Maturity Date]))
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
91 | |
86 | |
83 | |
76 | |
49 |
User | Count |
---|---|
145 | |
140 | |
109 | |
68 | |
55 |