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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
visheshvats1
Frequent Visitor

Help with creating a table

I have a table as below:

 

visheshvats1_0-1713856768565.png

 

I have written a measure to use in a table visual;

 
Actual YTD =
CALCULATE(SUM('General Ledger Combined Appended'[Amount USD - Dept P&L]),DATESBETWEEN('General Ledger Combined Appended'[Date],DATE(2024,1,1),DATE(2024,3,31)))
 
The Table visual is;

visheshvats1_1-1713856871716.png

I have applied visual level filters to the date column to show only 2024.

 

I wish to create a new disconnected table like this my visual. which has only these three columns year(which should be 2024), months, and values(as calculated by the measure). 

Is this possible? Any help would be greatly appreciated.

 

Thanks

 
 



1 ACCEPTED SOLUTION
v-jiewu-msft
Community Support
Community Support

Hi @visheshvats1 ,

Based on my testing, it is impossible to create a disconnected table result with another table calculated measure.

1.Create the simple table.

vjiewumsft_0-1713952524233.png

2.Create the new table.

 

Table 2 = CALENDAR(DATE(2024,1,1), DATE(2024,12,31))

 

3.Create the new year and month column.

 

Year = YEAR('Table 2'[Date])
Month = MONTH('Table 2'[Date])

 

4.Create the measure to calculate amount. Drag the measure into the Table.

 

Measure = CALCULATE(SUM('Table'[Amount usd]), ALLEXCEPT('Table', 'Table'[Year], 'Table'[Month]), FILTER('Table', YEAR('Table'[Date])= 2024))

 

vjiewumsft_2-1713952892871.png

5.Create a new values column. Drag the column into the disconnect table visual. The result is shown below.

 

valuescol = [Measure]

 

vjiewumsft_4-1713952968306.png

6.If create a connection between two tables, the result is shown below.

vjiewumsft_5-1713952976568.png

vjiewumsft_6-1713952987661.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jiewu-msft
Community Support
Community Support

Hi @visheshvats1 ,

Based on my testing, it is impossible to create a disconnected table result with another table calculated measure.

1.Create the simple table.

vjiewumsft_0-1713952524233.png

2.Create the new table.

 

Table 2 = CALENDAR(DATE(2024,1,1), DATE(2024,12,31))

 

3.Create the new year and month column.

 

Year = YEAR('Table 2'[Date])
Month = MONTH('Table 2'[Date])

 

4.Create the measure to calculate amount. Drag the measure into the Table.

 

Measure = CALCULATE(SUM('Table'[Amount usd]), ALLEXCEPT('Table', 'Table'[Year], 'Table'[Month]), FILTER('Table', YEAR('Table'[Date])= 2024))

 

vjiewumsft_2-1713952892871.png

5.Create a new values column. Drag the column into the disconnect table visual. The result is shown below.

 

valuescol = [Measure]

 

vjiewumsft_4-1713952968306.png

6.If create a connection between two tables, the result is shown below.

vjiewumsft_5-1713952976568.png

vjiewumsft_6-1713952987661.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@visheshvats1 , In case you need YTD, join date of your table with date of date table and use columns from that in visual, measure and slicers

 

example

 

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...

 

 


Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

 

 

 


To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.