Conosci CALCULATE
Fa parte della sezione DAX con CALCULATE del percorso Power BI di Coddy. Lezione 1 di 24.
CALCULATE esegue un'espressione con i filtri che aggiungi.
Coffee Revenue = CALCULATE([Revenue], Products[Category] = "Coffee")Prima l’espressione, poi i filtri. Ogni barra mantiene i propri filtri e aggiunge anche i tuoi.
Testo tra virgolette doppie, numeri senza: Dates[Year] = 2025. Qualsiasi confronto va bene: Sales[Quantity] >= 3.
Sfida
FacileQuanto caffè vende ogni negozio? Scrivi Coffee Revenue: Revenue con il filtro Products[Category] = "Coffee". Viene verificato per ogni negozio.
Provalo tu
Coffee Revenue =| Store | Coffee Revenue |
|---|---|
| Lisbon Riverside | |
| Porto Ribeira | |
| Madrid Centro | |
| Barcelona Gracia | |
| Berlin Mitte | |
| Totale |
- Sales
- Revenue
- Total Units
- Customers
- Products
- Stores
- StoreID
- Store
- City
- Country
- OpenDate
- Customers
- Dates
- Targets
Tutte le lezioni di DAX con CALCULATE
1Modificare i filtri
Conosci CALCULATEUn filtro sostituisce un altro filtroPiù filtri contemporaneamenteMantenere i filtriRiepilogo - Vendite di bevande ai membri