Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AndrejZitnay
Post Patron
Post Patron

Interactive table is needed

Hello all,

 

Would you be so kind and help me with interactive table?

 

My Dashboard should contains interactive table, Lease Liability at beginning at 1st month & Lease Liability at 31.03.2019

 

I’ve added her links for data source and PBIX.

 

I have PV formula in PBI file.

 

Passwords are : 0000

https://ulozto.net/!UNAmkFEWfcJF/cashflow-xlsx

https://ulozto.net/!MI770rkrVenX/cashflow-pbix

 

 

Idea is that everything will change based on selection of Asset.

Problem is that sometimes is there Lease for 24 months, sometimes 36 months etc.

 

 

Can you help me out?

 

Many thanks.

 

Kind regards.

 

Andrej

 

Table.JPG

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@AndrejZitnay 

 

You may take a look at the post below.

https://community.powerbi.com/t5/Developer/Dax-Help-Create-table-with-variable-of-lines-according-to...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-chuncz-msft ,

 

 

Thanks for your help.

 

I've used bellow table. Problem is that There are all dates of my lease between start & end date.

I need to have one row per one month. In this case between Aug - 18 & Aug - 20.

With another asset will be range different.

 

Table =

VAR c =

CALENDARAUTO ()

RETURN

GENERATE (

'Full Lease List',

FILTER ( c, [Date] >= 'Full Lease List'[Start Date] && [Date] <= 'Full Lease List'[End Date] )

)

 

Any advice on that?

 Here is link for PBI file. Password is 0000

https://ulozto.net/!iAMM9MEpOElD/cashflow-1-2-pbix

 

Once I will have table in correct order than I will need to find out way to calculate actual depreciation.

I must have in August month 0 and first deduction will be from September.

 
table 1.2.JPG
 
Many thanks for your kind help.
 
Much appreciated.
 
Andrej

@AndrejZitnay 

 

Just add a calculated column.

Column =
DATE ( YEAR ( 'Table'[Date] ), MONTH ( 'Table'[Date] ), 1 )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-chuncz-msft ,

 

Many thanks for your help. I really appreciate that as this currently my very urgent project.

I will close another query as items are related as I need both tables and running deprecation and totals for March - 19

 

Here is my file. Password is still 0000

https://uloz.to/!2qnn9chBI2LN/cashflow-1-3-pbix

 

Now I just need last 3 things.

 

1st - Monthly count. 1st month should be zero, 2nd month should be 1, 3rd month should be 2nd etc.

           (In this example Aug 18 - 0, Sep 18 - 1, Oct 18 - 2)

 

2nd - Cashflow should be Monthly payment but have to go from Month 1 as per above.

            (In this example from Sep 18)

 

3rd - Interest. Start in Month 1. (PV*Rate)/12. (As per excel at top of this query)

 

4th - Lease. (Cashflow - Interest (As per excel at top of this query)

 

5th - Lease Liability. In month 0 it is PV and from month 1 Lease Liability - lease (As per excel at top of this query)

 

Sorry for so many requests but I struggle with this quick measures. I've tried deductions but it didn't worked for me. 

 

table 1.3.JPG

 

Table.JPG

 

 

Sample.JPG

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.