Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have this data:
Cust No Posting Date
C10001 | 10/02/2019 |
C10001 | 26/02/2019 |
C10001 | 10/04/2019 |
C10001 | 30/04/2019 |
C10001 | 30/04/2019 |
C10001 | 08/05/2019 |
C10001 | 15/05/2019 |
C10001 | 15/05/2019 |
C10001 | 15/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 29/05/2019 |
C10001 | 30/06/2019 |
C10001 | 30/06/2019 |
C10001 | 30/06/2019 |
C10001 | 30/06/2019 |
C10001 | 30/06/2019 |
C10001 | 02/07/2019 |
C10001 | 14/08/2019 |
C10001 | 14/08/2019 |
Then I would like to give a custom value like this:
24/02/2019 - 31/10/2019 : 242169
23/03/2019 - 31/10/2019 : 363003
11/07/2019 - 31/12/2019 : 216071
So Final output will be:
Cust No Posting Date Value(calculated)
C10001 | 10/02/2019 | 242169 |
C10001 | 26/02/2019 | 242169 |
C10001 | 10/04/2019 | 605172 |
C10001 | 30/04/2019 | 605172 |
C10001 | 30/04/2019 | 605172 |
C10001 | 08/05/2019 | 605172 |
C10001 | 15/05/2019 | 605172 |
C10001 | 15/05/2019 | 605172 |
C10001 | 15/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 29/05/2019 | 605172 |
C10001 | 30/06/2019 | 821243 |
C10001 | 30/06/2019 | 821243 |
C10001 | 30/06/2019 | 821243 |
C10001 | 30/06/2019 | 821243 |
C10001 | 30/06/2019 | 821243 |
C10001 | 02/07/2019 | 821243 |
C10001 | 14/08/2019 | 821243 |
C10001 | 14/08/2019 | 821243 |
C10001 | 14/11/2019 | 216071 |
Adding the value depends on the date range.
I need to show this in data (column) not in a table visual.
This is possible, right?
Thank you!
If i will put this in a table visual, this will be the output:
Date Slicer: 14/08/2019
Table Visual:
C10001 821243
Date Slicer: 29/05/2019
Table Visual:
C10001 605172
Solved! Go to Solution.
Download the PBI file from here.
Hi,
This calculated column formula works
=CALCULATE(SUM(Data1[Value]),FILTER(Data1,Data1[Lower]<=EARLIER(Data[Posting Date])&&Data1[Upper]>=EARLIER(Data[Posting Date])))
Hope this helps.
Value is manual input.
How can I input the value?
I do not understand your question/comment. The Data1 Table is a 3 column Table.
What I have is a 2 column table.
3 column table is my expected output 3rd column is calculated.
I am absolutely confused now. I have created the 3rd column for your in Table1 as per your initial request.
Above photo is my data.
then I will put these values based on date on a calculated column. It is not existing on my current data.
After the calculated column created, this is the expected output:
Then if i will create a visual, this is the expectec output:
My formula returns the third column shown in your Final Output Table.
Can you share the pbix?
Download the PBI file from here.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
33 |
User | Count |
---|---|
190 | |
78 | |
72 | |
54 | |
45 |