Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have below tables
1. Sales table - fields: date, store name, item no, amount
2. All store budget - fields: service ID, service, months (Jul22-Jun23), amount
3. store budget - fields: service ID, store name, service, months (Jul22-Jun23), amount
count of services in All store budget is 23, 22 of this listed with each store name and only amount is distributed.
4. Mapping table - fields: item no, service ID, service category
I want 3 filters: store name, service category, month
I want help with data modeling (data manager)
It's common in business intelligence scenarios to encounter situations where certain data elements appear in one dataset but not in another. In your case, the presence of a service in the "All Store Budget" but not in the individual "Store Budget" can indeed be a deliberate design decision, especially in a retail context. Here's how to understand and possibly manage this situation:
Purpose of 'All Store Budget' vs. 'Store Budget':
Why Some Services Might Not Appear in 'Store Budget':
Data Modeling:
Composite Key Consideration:
Data Validation:
Try this approach, let me know if this fulfills the requirement ...
Understanding Your Data and Relationships:
Creating Relationships:
store name
. This allows analysis of sales against store budgets.item no
from the Sales table to the Mapping table. This connects sales data with service categories.service ID
to link these. It will enable analysis of budget allocation per service category.Data Modeling Steps in Qlik Sense's Data Manager:
store name
in Sales and Store Budget tables).date
field in the Sales table and months
in the budget tables are in a consistent format. You might need to create a calendar table for better time analysis.service ID
, service
, and months
, consider creating a composite key (concatenation of these fields) if you need to link these tables uniquely.Implementing Filters:
store name
, service category
, and month
as dimensions.Best Practices:
Thanks for the detailed breakdown, I have one service that is in All store budget but not in Store budget
That can be from any store. That should be the reason to have All Store budget table.
I'm confused there.
It's common in business intelligence scenarios to encounter situations where certain data elements appear in one dataset but not in another. In your case, the presence of a service in the "All Store Budget" but not in the individual "Store Budget" can indeed be a deliberate design decision, especially in a retail context. Here's how to understand and possibly manage this situation:
Purpose of 'All Store Budget' vs. 'Store Budget':
Why Some Services Might Not Appear in 'Store Budget':
Data Modeling:
Composite Key Consideration:
Data Validation: