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
Anonymous
Not applicable

**Time Intelligence (Weekly)**

Hi,

 

I want to display the data in the following way: -

 

1. Each day of the week gives me the summary for the week.

 

Let's take Monday. I have a measure and Time Hierarchy (Year, Months, Days). Now, is it possible to have the data only displayed for Jan 2, Jan 9, Jan 16, Jan 23 and so on without manually choosing the those days in the filter? I mean every time the data is refreshed in the cube I should be able to see only the data for every monday automatically updated. (Assume gateway is setup and working fine)

 

So if I open the report in march, it should have the data for every monday starting Jan 2 without me choosing those days in the filter. 

 

Is it possible?

2 ACCEPTED SOLUTIONS
tringuyenminh92
Memorable Member
Memorable Member

Hi @Anonymous,

 

There are 2 common approaches that you could try:

  • Use Group feature to create Bin with duration 7days (but the X-Axis will show Month-NoOfWeek - Jan-01, Jan-02,... instead of month-representative day of week)

right click in your date column and choose new groupright click in your date column and choose new groupchoose duration 7 dayschoose duration 7 days

 

  • Add calculated column/custom column and using if/else and another DAX methods to geneate week name, and just use this column in chart, it will sum value automatically. (new calculated column)
Weeks Rep = 'Fact'[DateColumn]- WEEKDAY('Fact'[DateColumn]-2)

please change this column format in Formatting tab of Modeling tab to what format you want

Screenshot 2017-01-28 00.33.35.png

View solution in original post

Hi @Anonymous,

For live connection, you need to prepare your dim Date/calendar from server side cause not able to create calculated column. And bin/group by feature does not support live connection so far, so you could support that idea by voting https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/16910701-please-make-the-new-group-and-bin-features-work-ov
And https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/11685723-create-calculated-measures-on-top-of-a-live-ssas-c

View solution in original post

4 REPLIES 4
tringuyenminh92
Memorable Member
Memorable Member

Hi @Anonymous,

 

There are 2 common approaches that you could try:

  • Use Group feature to create Bin with duration 7days (but the X-Axis will show Month-NoOfWeek - Jan-01, Jan-02,... instead of month-representative day of week)

right click in your date column and choose new groupright click in your date column and choose new groupchoose duration 7 dayschoose duration 7 days

 

  • Add calculated column/custom column and using if/else and another DAX methods to geneate week name, and just use this column in chart, it will sum value automatically. (new calculated column)
Weeks Rep = 'Fact'[DateColumn]- WEEKDAY('Fact'[DateColumn]-2)

please change this column format in Formatting tab of Modeling tab to what format you want

Screenshot 2017-01-28 00.33.35.png

Anonymous
Not applicable

Thanks a lot @tringuyenminh92 !! I will try this and let you know my result

Anonymous
Not applicable

Can we do the same on Live Connection?

Hi @Anonymous,

For live connection, you need to prepare your dim Date/calendar from server side cause not able to create calculated column. And bin/group by feature does not support live connection so far, so you could support that idea by voting https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/16910701-please-make-the-new-group-and-bin-features-work-ov
And https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/11685723-create-calculated-measures-on-top-of-a-live-ssas-c

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.