Start from what you see in the visual, whatever your Power BI report. Questions, general at first and then more and more precise, lead to the cause, the fix and the way to check it. The formulas use names you replace with yours, and a worked example on the izyDAX data is there to open if you want to follow it step by step.
Two words that come up in the answers
Fact table
The table that records what happened, one row per event. In izyDAX, it is the Sales table, one row per sale. It grows with each new sale, and it is usually the one your measures add up.
Lookup table
The table that describes each item only once. Customers has one row per customer, with its city and type, Products one row per product, Calendar one row per date. Each sale points to one of these rows through a key, the customer ID for example. Through this link, a filter on the city reaches the sales. It is also called a dimension table, hence the name “Dimension” in the formulas to adapt.
What is blocking you
Start from what bothers you, then choose the symptom closest to what you see.
The same calculation gives a different result depending on the visual
The total doesn’t match the sum of the rows
CALCULATE changes the result, and I don’t understand why
My numbers don’t react to filters, because of the relationships
Time calculations are blank or wrong
My percentages don’t add up to 100%
My formula works as a column, not as a measure
A formula I copied doesn’t work for me
An error message or a blank result I don’t understand
Too many functions, I don’t know which one to choose
01Filters and relationships
03Blank values or errors
05The data model
07Calculated columns
09Totals and matrices
11Writing and reading a formula
02Shares and percentages
04Averages and rankings
06Slicers and interactions
08Time
10Numbers too big or too small
Key sentences
DAX calculates a variable only once, with the filters present where it is written, then keeps its result. That result no longer changes until the end of the formula, even inside a CALCULATE.