Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
I hope you're doing great. I made a column calculation (in FacSales table) that identifies in wich date a company started working with us trough this expresion:
Any recommendation will be well received.
Thak you very much.
Diego V.
You should never, ever create a calculated column in a fact table using CALCULATE unless the fact table is really tiny. On real fact tables it's going to take a lot of time to calculate. Very often it just leads to a crash due do the amount of memory needed.
[Cust Init Date] =
IF( HASONEVALUE( DimCustomer[CustomerID] ),
CALCULATE(
MIN( FactSales[Fecha_OT] ),
ALLEXCEPT(
FactSales,
DimCustomer
)
)
)
Daxer, i think that i found the way using another measuere that uses your recomended measure:
Thanks for the feedback daxer, i got same result. Now how can i get just dates depending on selected value in slicer? (Using something like ALLSELECTED?)
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 |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |