cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors