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
novel
Frequent Visitor

Custom Table

I need to crate a custome table which will be having the mutliple measures like Sales, Growth % , etc based on different time period, can anyone please help me with this ??
I've added a screenshot below and i need to make those name to be dynamic like current month will be shown as "March 23" or whatever the current month it is. 

novel_0-1678615630134.png

 

 

 

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @novel ,

 

The current system does not support this function. You can post your idea to Ideas .

https://ideas.powerbi.com/ideas/

You can use the following methods instead or use custom visuals.

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_0-1678760536905.png

(2) We can create six calculated columns.

 

 

 

current month = IF( MONTH('Table'[date]) =MONTH(TODAY()), "current month" & 'Table'[date],BLANK())
last month = IF(MONTH('Table'[date])+1=MONTH(TODAY()),"last month" &'Table'[date],BLANK()) 
last to last month = IF(MONTH('Table'[date])+2=MONTH(TODAY()),"last to last month" & 'Table'[date],BLANK()) 
QTD_x = QUARTER('Table'[date])
YTD = TOTALYTD(SUM('Table'[value]),DimDate[Date])
QTD = TOTALQTD(SUM('Table'[value]),DimDate[Date])

 

 

 

(3) Then the result is as follows.

vtangjiemsft_1-1678760777591.png

 

 

You can refer to the following documents that may be helpful to you:

Calculating MTD, QTD, YTD, Running and Cumulative Total in Power BI (mssqltips.com)

Power BI: Custom table with dynamic header titles | by Hernan Demczuk | SOUTHWORKS | Medium

goodly.co.in

www.youtube.com

www.youtube.com

 

Best Regards,

Neeko Tang

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

Hello @v-tangjie-msft 

Thanks for the solution but with the values for "Sales", "Quantity", "Growth" can only be created with measure as those calculations are dependent on filters and conditions. Along with them there are almost eight different measure are there. 

Also thanks for sharing the links, but I've tried most of the possible ways but still it isn't working. 

 

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.