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.
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.
(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.
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
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.
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!
User | Count |
---|---|
131 | |
81 | |
65 | |
61 | |
55 |
User | Count |
---|---|
199 | |
104 | |
88 | |
79 | |
77 |