Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I Connected the SAP-Cube to Power BI.
In this senario New Column is Disabled and there is only (New Measure) i can created.
So, In this senario Please suggest me the DAX for below requirements:
- Get the Month Name from #Date column
- Diffarence between two #Dates ( = ReleaseDt - OpenDt)
Thanks.
Hi @ssvr,
you can try this function
New column = SWITCH(Month(date column),1,"January",2,"February",...)
Hi @danextian ,
Can you help me out with this query
One of my mate share dis DAX (Measure) for date diffarece. But i got some errors with query can you fix this
[ClosedDt-CreatedDt]
Daydiff = VAR Created = MAX('Dates'[CreatedDt])
VAR Closed = MAX('Dates'[ClosedDt])
VAR dd=-1
IF (Closed>Created) {
dd=DATEDIFF(Created;Closed;days)
} else {
dd= DATEDIFF(Closed;Created;days)
}
RETURN dd
I need to create only Measure not Column
Agening between two dates = Closeddt - Releasedt
You may try the formula I posted as a measure.
May be you are right. But my case is:
I Connected the SAP-Cube to Power BI.
In this senario New Column is Disabled and there is only (New Measure) i can created.
So, In this senario Please suggest me the DAX for below requirements:
- Get the Month Name from #Date column
- Diffarence between two #Dates ( = ReleaseDt - OpenDt)
Thanks.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |