Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compound Filtering
10-23-2018
04:41 PM
I have a set of data as follows.
date | type |
… | |
8/31/2018 | Monthly |
9/30/2018 | Monthly |
… | |
9/29/2018 | Daily |
9/30/2018 | Daily |
10/1/2018 | Daily |
10/2/2018 | Daily |
10/3/2018 | Daily |
Daily and Monthly record level data are saved to the same table for the following reasons:
- I should be able to choose one date freely from the daily dates in a slicer or similiar feature.
- Based on the date I choose, I need to see the prior 12m of monthly data. My pivot should have 13 columns: the rightmost column is the daily date I choose, the other 12 are the preceding 12 months.
- As I move my slider thru the daily range, the preceeding 12 months should dynamically change, so when I select daily value 10/3/18 my most recent monthly date should be 9/30/2018. When I select daily value 9/29/2018, my most recent monthly date should be 8/31/18, etc.
- Some may suggest I construct my monthly numbers based on an aggregation of a sufficient history of dailies. This will not be the correct approach because these are measures of point in time inventories that should not sum together.
- Some dates (such as 9/30/18) will have both a daily and special month end result. The data for month end has been more carefully reviewed/cleaned up, and is considered "official" vs the "unofficial" daily result. We need to blend both results seamlessly as described above -> I should only see one daily result at a time.
- The additional requirements are that the solution must support directquery.
- Marketplace visuals can be used, but must be able to be published to the Power BI Service.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2018
06:24 PM
Can you mock up what the output would look like?
Also, what does the rest of your data look like? Apparently you have some kind of value?
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
08-07-2024 10:23 PM | |||
02-19-2025 10:22 AM | |||
09-04-2024 02:35 AM | |||
11-04-2024 02:35 PM | |||
09-12-2024 01:04 AM |
Featured Topics
Top Solution Authors (Last Month)
User | Count |
---|---|
87 | |
81 | |
53 | |
37 | |
35 |