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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Display Month-wise and Current month of weeks data in one visual

Hi Guys,

 

I am trying to display Month-wise and Current month of weeks data in 100% stacked column visual, which I am not able to do it now. Is there any provision to do this in Power BI?

I have attached a sample snapshot with this, that I want to achieve in power BI. Please suggest  DAX.

 

Thanks

Godasu

 

100%.png

7 REPLIES 7
amitchandak
Super User
Super User

@Anonymous ,

DO you have month week. That will give you that. But I doubt the first Bar, what is that

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

i have a month column and week column .. How to write  dax Month week in a single column 

 

Thanks

Godasu

Anonymous
Not applicable

For Example I Have a month column and week column and product column and Sales Column

 

in power bi i full the Axis level -->Week number (I need Month And week number)

                                Legend Level --> product 

                                Value Level --> Sales  

then power bi showing sales by week number and product 

But I need a  sales by Month and week number and product  

 

Sample Visual.png

 

Hi @Anonymous ,

 

Could you please share your sample data and expected result to me if you don't have any Confidential Information? Please upload your files to OneDrive for Business and share the link here.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Thanks for your Reply 

 

for example--April-20 you have selected in slicer and in that Single visual it should show month April-20 data & week data for w1,w2,w3,w4 of April-20

(if you Have select 1/feb/2020 to 30/March/2020 It Will display selectd months(Feb and March and April) And current month(April) of week1 week2 week3 week4 week5)

Sorry for the inconvenience i dont have one drive permission in my Laptop.
Dax- 
WeekiMonth = 1+WEEKNUM('P6-OfficeSupplies'[OrderDate])-WEEKNUM(STARTOFMONTH('P6-OfficeSupplies'[OrderDate]))
WeekiYear = 1+MOD(WEEKNUM('P6-OfficeSupplies'[OrderDate])-1,52)
 
OrderDateItemUnits
4-Jul-19Pen Set62
12-Jul-19Binder29
21-Jul-19Pen Set55
29-Jul-19Binder81
7-Aug-19Pen Set42
15-Aug-19Pencil35
24-Aug-19Desk3
1-Sep-19Desk2
10-Sep-19Pencil7
18-Sep-19Pen Set16
27-Sep-19Pen76
5-Oct-19Binder28
14-Oct-19Binder57
22-Oct-19Pen64
31-Oct-19Pencil14
8-Nov-19Pen15
17-Nov-19Binder11
25-Nov-19Pen Set96
4-Dec-19Binder94
12-Dec-19Pencil67
21-Dec-19Binder28
29-Dec-19Pen Set74
6-Jan-20Pencil95
15-Jan-20Binder46
23-Jan-20Binder50
1-Feb-20Binder87
9-Feb-20Pencil36
18-Feb-20Binder4
26-Feb-20Pen27
7-Mar-20Binder7
15-Mar-20Pencil56
24-Mar-20Pen Set50
1-Apr-20Binder60
10-Apr-20Pencil66
11-Apr-20Pencil75
9-Apr-20Pen96
5-Apr-20Pencil90
12-Apr-20Pencil53
5-Apr-20Pencil32
14-Apr-20Binder80
8-Apr-20Binder60
14-Apr-20Desk5
15-Apr-20Pencil90

 

Thanks

Godasu

Anonymous
Not applicable

Depending on the image, two visuals to display a single visual (100% stacked column)

Untitled.jpg

Anonymous
Not applicable

i Have a colums as month and week, first Bar is month of (March-2020)

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors