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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
NothingButData
Regular Visitor

Power BI YTD WTD PTD as Row headers and Sales, Traffic as Column Headers

Hi 

How do I achive below format of a visual in Power BI? Matrix visual with "switch Values to Row" is not as expected. 

Dim Date : Date, Year, Month

Fact Sales : Sales, YTD %, WTD %, PTD % are Dax meanusure comparing to Last year. All % Dax are using Calculate as period is 5-4-4. 
sample Fact Data

DateSalesTraffic 
1/1/20231005000 
1/2/20232005500 
1/1/2022504000 
1/2/2022604500 

 

Expected Format in Power BI Visual

 SalesSales Vs ForecastTraffic
Day0.2%0.1%2.1%

WTD

1.1%0.2%2.3%

PTD

2.1%0.3%2.4%

YTD

4.5%0.4%2.5%

 

Format,Visual,Dax,Sales,YTD,alternative,Matrix,Table,Power,BI

1 REPLY 1
NothingButData
Regular Visitor

This seems to be a simple request. Could you please give an Idea, anything will help? Thanks! 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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