Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
**I am not able to modify these table, so no calc columns or Power Query***
**Transaction Fact table is over 300 Million Rows and lives in SQL**
**Screenshots of tables are below text**
I have 4 tables
Dates Table = Simple dates table, Date, month, year etc...
Transaction table (300+ Million Rows) = Shows by date by store, the different transaction amounts
Store Status Table = Shows by data over time what was the store status on that day
Store table = List of stores, location of store etc...
I am trying to model these tables together so that I can write a formula that shows the transaction amount by day for a store ONLY when that store status on that day was "Open".
So if there was a transaction on 2/21/22 for store A, but the status was "Closed" that day... don't count it.
Dates Table | Transaction Table | Store Status | Store |
|
|
Question 1: How does this need to be modeled to give me the answer I need?
Question 2: What is the formula I can write to do this?
Here is what I have, but I know this isn't right....
I have two formulas:
What am I doing wrong, is this modeled properly, how do I write this with DAX?
@powerbignc , create a combined column in both transaction table and store table
Date Stote = format([Date], "YYYY-MM-DD") & "-" & [Store]
Use the correct column from both tables and join them
I do not this you will need a store table in that case
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
40 |