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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am extremely new to Power BI and even newer to DAX so please try to take that into consideration when posting help. Thank you so much in advance. Learning as I go but this one has completely confused me.
I need help creating a DAX formula that does the following. The new field name should be "Media Due Date". It looks long but all this is really doing is looking at a field called "Media Type" and if that field shows "Digital" a certain set of dates populate and if that field shows "Direct Mail" another set of dates populate.
The "Start Date" sits in a dimension / table called "dimstartdate". The "Media Type" field sits in a dimension / table called "mv_perfex". I don't really care where the new field is created as long as it works as expected.
Link to sample data extract: https://www.dropbox.com/scl/fi/m0whlzi461ollu3odzoc6/Sample-Data-For-Community-Post-11-04-2022.xlsx?...
I should note that I have a DAX formula that works simply using the "Start Date" field. However, it is the addition of the "Media Type" field that is causing me not to know how to do this. I attached a screenshot of the DAX formula that currently works using just the "Start Date" field in case you want to reference it.
DAX Formula That Works Using Just "Start Date"
Solved! Go to Solution.
@krichmond This is a column, correct? If you column is in a different table you probably need to use RELATED('mv_perfex'[mediatype])
@krichmond Just add " && [Media Type] = "Digital" right before the first comma in each row?
@Greg_Deckler - I tried this based on your post, but for some reason it isn't working. As you can see from the screenshot, the fields associated with the "dimstartdate" dimension / table pick up just fine. However, when I type "mv_perfex" to pick the "Media Type" field it doesn't show that it is connecting to it like the other fields do from the "dimstartdate" dimension / table. Any idea what I am doing wrong? Probably user error. 🙂
@krichmond This is a column, correct? If you column is in a different table you probably need to use RELATED('mv_perfex'[mediatype])
@Greg_Deckler - Would I need to put that on the front end of each row? And would a sample of something that works be what is below?
Just a reminder, I am extremely new to Power BI and even newer to DAX.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |